apasccon / SearchTextField

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

Type of expression is ambiguous without more context #169

Closed kjoe07 closed 1 year ago

kjoe07 commented 5 years ago

cannot use

origen.itemSelectionHandler{ filter, i in let item = filter[i] self.origen.text = item.tittle self.desdeIndex = itemPosition } on xcode 10.2 xcode trows Type of expression is ambiguous without more context . i want to get the selected index upon text selected but cannot compile in xcode 10.2