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

Re: NSObjectController observations fail


  • Subject: Re: NSObjectController observations fail
  • From: mmalc crawford <email@hidden>
  • Date: Tue, 14 Aug 2007 05:58:57 -0700


On Aug 14, 2007, at 2:05 AM, ad veloper wrote:
I'm registering for "content" notifications on my NSObjectController, thus:
[myObjectController addObserver:self forKeyPath:@"content" options:0
context:nil];
After about 2 I stop receiving them. I want to know everytime I "setContent".


That's all you should have to do.

How do I set up my observer to handle this?

How have you implemented your 'observe...' method?
Is the object controller ever replaced for some reason?

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: 
 >NSObjectController observations fail (From: "ad veloper" <email@hidden>)

  • Prev by Date: Re: Overlay over webView
  • Next by Date: Re: Newly inserted objects not retrieved with executeFetchRequest...
  • Previous by thread: NSObjectController observations fail
  • Next by thread: Newly inserted objects not retrieved with executeFetchRequest...
  • Index(es):
    • Date
    • Thread