• 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: NSManagedObjectContextObjectsDidChangeNotification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSManagedObjectContextObjectsDidChangeNotification


  • Subject: Re: NSManagedObjectContextObjectsDidChangeNotification
  • From: SA Dev <email@hidden>
  • Date: Thu, 12 May 2005 16:12:03 -0400


I thought leaving the object nil listened for *all* notifications of the specified name. Is that not the case with NSManagedObjectContextObjectsDidChangeNotification?




On May 12, 2005, at 4:08 PM, Fritz Anderson wrote:

An NSManagedObjectContextObjectsDidChangeNotification is sent out by an NSManagedObjectContext. You have to specify which in the object: parameter.

    -- F

On 12 May 2005, at 3:03 PM, Marcus Roberts wrote:


I've made a call to the notification center to register for the
notification. But after adding objects to the managed object context,
I'm not getting any notifications back.

Here's a code snippet:

NSNotificationCenter *nc;
nc = [NSNotificationCenter defaultCenter];

[nc addObserver:self
       selector:@selector(handleContentChange:)
           name:@"NSManagedObjectContextObjectsDidChangeNotification"
         object:nil];

Am I doing something obviously wrong, or has anyone else used
NSManagedObjectContextObjectsDidChangeNotification successfuly who can
give me a hint?


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40silentalcove.net


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSManagedObjectContextObjectsDidChangeNotification
      • From: Marcus Roberts <email@hidden>
References: 
 >NSManagedObjectContextObjectsDidChangeNotification (From: Marcus Roberts <email@hidden>)
 >Re: NSManagedObjectContextObjectsDidChangeNotification (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: NSManagedObjectContextObjectsDidChangeNotification
  • Next by Date: Re: NSDatePickerCell in an NSTableView
  • Previous by thread: Re: NSManagedObjectContextObjectsDidChangeNotification
  • Next by thread: Re: NSManagedObjectContextObjectsDidChangeNotification
  • Index(es):
    • Date
    • Thread