SearchTextField
SearchTextField copied to clipboard
How can I change searching like 'a%'?
Currently, it's 'contain with
' searching. How can I change searching like 'a%'
?
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]