• 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
Re: NSArrayController and multiple Entities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController and multiple Entities


  • Subject: Re: NSArrayController and multiple Entities
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 25 Mar 2014 21:36:26 -0700

On Mar 25, 2014, at 21:28 , Rick Mann <email@hidden> wrote:

> I think it only started complaining when I checked "Prepares Content," but it didn't seem to work at all until I did that.

It does a fetch for you when it “prepares content”, and I guess it needs the class for that too. Can’t you just specify NSManagedObject?

> If I add new objects to Core Data, must it be done via the controller, or will it pick all the new ones up in the NSManagedObjectContext?

No, it’s all about KVO. Provided you add objects to the relationship property KVO-compliantly (and Core Data properties are KVO compliant), the array controller will see the change.


_______________________________________________

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


References: 
 >Re: NSArrayController and multiple Entities (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSArrayController and multiple Entities
  • Next by Date: CALayer shadow and zPosition
  • Previous by thread: Re: NSArrayController and multiple Entities
  • Next by thread: CALayer shadow and zPosition
  • Index(es):
    • Date
    • Thread