Returns an array of strings that you can use for full-text searches of the field’s string-based values.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
An array of
NSString objects containing data from the records string-based fields.
When performing your own full-text searches, you can use this method to get a list of strings for your search. The method acts only on keys whose values are
NSString objects. It breaks each value string apart at whitespace boundaries, creates new strings for each word, adds the new strings to an array, and returns the array. This tokenized version of the record’s string values makes it easier to do string-based comparisons of individual words.