Canonicalized String Searching Using a Core Data Derived Property

Last Revision:
Version 1.3, 2013-05-20
Updated project format, and to use ARC.
(Full Revision History)
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.