khawars/KSTokenView

Case sensitive ?

Closed this issue ยท 1 comments

Lecyp commented

Hey !

First, tanks a lot for your great library ๐Ÿ‘

I just wanted to know if you were planing to define an option somewhere to render the searched text case sensitive and/or accent sensitive ?

Thank you very much for your feedback ;)

KSTokenView doesn't actually perform search. It is a View, which provides delegate methods so that you may perform searches based on your requirement. You may use delegate methods like tokenView(_ tokenView: KSTokenView, performSearchWithString string: String, completion: ((Array<AnyObject>) -> Void)?) to customize your search results accordingly.