• 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: [Q] What causes an NSArrayController to know that an entity was inserted via a different window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] What causes an NSArrayController to know that an entity was inserted via a different window?


  • Subject: Re: [Q] What causes an NSArrayController to know that an entity was inserted via a different window?
  • From: mmalc Crawford <email@hidden>
  • Date: Tue, 24 Feb 2009 08:50:13 -0800


On Feb 24, 2009, at 7:48 AM, Jon C. Munson II wrote:

I'm NOT one of those people who learn well from reading technical documentation,

It is truly obnoxious, then, and unhelpful to others, to continue to make assertions that various issues are not covered in the documentation when they very clearly are.
As ever, your fundamental question is answered in the documentation:
<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSArrayController_Class/Reference/Reference.html >


[[NSNotificationCenter defaultCenter] addObserver:self
    selector:@selector(managedObjectContextUpdatedNotification:)
    name:NSManagedObjectContextObjectsDidChangeNotification
    object:[self managedObjectContext]];

Assuming that goes in init, is this the correct message, etc., to be
listening for?

This is not a message, it's a notification. Notifications are another of those fundamental aspects of Cocoa development with which someone starting to use Core Data should be familiar.
See <http://developer.apple.com/documentation/Cocoa/Conceptual/Notifications/Articles/NotificationCenters.html >


mmalc

_______________________________________________

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: 
 >[Q] What causes an NSArrayController to know that an entity was inserted via a different window? (From: "Jon C. Munson II" <email@hidden>)
 >Re: [Q] What causes an NSArrayController to know that an entity was inserted via a different window? (From: "I. Savant" <email@hidden>)
 >RE: [Q] What causes an NSArrayController to know that an entity was inserted via a different window? (From: "Jon C. Munson II" <email@hidden>)

  • Prev by Date: RE: [Q] What causes an NSArrayController to know that an entity was inserted via a different window?
  • Next by Date: Re: [Q] What causes an NSArrayController to know that an entity was inserted via a different window?
  • Previous by thread: RE: [Q] What causes an NSArrayController to know that an entity was inserted via a different window?
  • Next by thread: Re: [Q] What causes an NSArrayController to know that an entity was inserted via a different window?
  • Index(es):
    • Date
    • Thread