apasccon / SearchTextField

UITextField subclass with autocompletion suggestions list
MIT License
1.15k stars 254 forks source link

How can I get the position of selected item from whole list #175

Open tahsinsiad opened 5 years ago

tahsinsiad commented 5 years ago
mySearchTextField.itemSelectionHandler = {item, itemPosition in
    mySearchTextField.text = item.title
}

By this code, I have got the position of the selected item of the filtered list. I need the position of the whole list.