Canonicalized 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 canonicalized 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.
Copyright © 2013 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2013-05-20