Normalized String Searching Using a Core Data Derived Property
| Last Revision: | |
| Build Requirements: | Xcode 4.5, OS X 10.7 or later. |
| Runtime Requirements: | OS X 10.7 or later. |
Searching against Unicode text is a potentially expensive operation. "DerivedProperty" shows how you can use a derived property in Core Data to maintain a normalized version of string data to make searching more efficient. In addition, a value transformer overrides the predicate in a search field so that the search string is also normalized.
© 2013 Apple Inc. All Rights Reserved. (Last updated: 2013-05-20)