polydice / ICInputAccessory

A customized token text field used in the iCook app.
http://polydice.com/ICInputAccessory/
MIT License
52 stars 18 forks source link

Search as you type #10

Closed OliverDimitrov closed 7 years ago

OliverDimitrov commented 7 years ago

Hi there, me again :)

Is it possible to add delegate method that will return on each keystroke? I need this since I need to perform search for available tags before adding one.

Thanks.

bcylin commented 7 years ago

Yes, it's possible to achieve that. I'll look into it after releasing 1.3.0. Thanks again for the feedback.

OliverDimitrov commented 7 years ago

If I may ask, when is this happening? :)

bcylin commented 7 years ago

New delegate method can be found on the develop branch:

@objc optional func tokenField(_ tokenField: ICTokenField, didChangeInputText text: String)