SearchTextField icon indicating copy to clipboard operation
SearchTextField copied to clipboard

How can I change searching like 'a%'?

Open ppshein opened this issue 7 years ago • 1 comments

Currently, it's 'contain with' searching. How can I change searching like 'a%'?

ppshein avatar Aug 17 '17 04:08 ppshein

you could do something like that: self.searchFieldOutlet.comparisonOptions = [.caseInsensitive, .anchored]

or, in case you do not want it to be case insensitive self.searchFieldOutlet.comparisonOptions = [.caseInsensitive, .anchored]

jwiesmann avatar Jul 19 '18 10:07 jwiesmann