Predicate search across Core Data entities.

2012-02-01 Thread David Delmonte
Hello Everyone! I am trying to understand if it's possible (and then how to do it) to employ a UISearchBar to find data that cuts across core data entities. I have a model that basically has one mainEntity, then a personEntity, placeEntity, and some others. A record in the mainEntity can

Re: Predicate search across Core Data entities.

2012-02-01 Thread Mark Woollard
If I understand you correctly, you want to search for matches against attributes in the various objects in your model. I would move the searchable attributes out into their own entity 'searchableAttribute', with attributes 'name' and 'value'. I'd then define a base entity 'searchableEntity' and