Searching a CoreData bound NSArrayController
Searching a CoreData bound NSArrayController
- Subject: Searching a CoreData bound NSArrayController
- From: Paul Thomas <email@hidden>
- Date: Sat, 11 Oct 2008 09:13:58 +0100
Hi All,
I need a little advice on the "right way" to do something: I have an
array controller bound to a core data store and the objects are
presented in a table view. When it comes to inserting, I need to check
that one of the properties specified by the user is unique before
doing anything else. So in my view controller, should I be:
- looking through the NSArrayController for a match
- using the moc attached to the array controller to do a fetch?
I suspect the latter, but I want to check that I haven't missed a
simpler solution.
ta,
pt.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden