Version: 1.0

Posted: 2008-06-04

Build Requirements: Mac OS X 10.5, Xcode 3.0

Runtime Requirements: Mac OS X 10.5

View Source Code:

Download Sample (“DerivedProperty.zip”, 35.8K)
Download Sample (“DerivedProperty.dmg”, 42.4K)



Description

Searching against Unicode text is a potentially expensive operation. This sample uses a derived property in Core Data to maintain a normalized version of string data for faster searching. In addition, a value transformer overrides the predicate in a search field so that the search string is also normalized.

Document Revision History

Date Notes
2008-06-04Illustrates use of Core Data derived properties to make searching against string data more efficient.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.