• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Searching a CoreData bound NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Searching a CoreData bound NSArrayController
      • From: chaitanya pandit <email@hidden>
  • Prev by Date: Re: Can I use tool tips with images?
  • Next by Date: Re: NSNull and @""
  • Previous by thread: Re: Matrix of Controls
  • Next by thread: Re: Searching a CoreData bound NSArrayController
  • Index(es):
    • Date
    • Thread