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

addObserver:


  • Subject: addObserver:
  • From: Chris Idou <email@hidden>
  • Date: Mon, 11 Aug 2008 07:15:16 -0700 (PDT)

I'm making the following call (and defining observeValueForKeyPath on self etc) on an NSArrayController, hoping to get notifications of it changing. But I don't seem to be getting any notifications. Should this work?


[arrayController addObserver:self
	 forKeyPath:@"content" 		options:(NSKeyValueObservingOptionNew|NSKeyValueObservingOptionOld)
	 context:nil];





_______________________________________________

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: addObserver:
      • From: Keary Suska <email@hidden>
    • Re: addObserver:
      • From: Negm-Awad Amin <email@hidden>
  • Prev by Date: NSConditionLock vs MPQueue
  • Next by Date: Re: Sort Descriptor problem in NSTableView
  • Previous by thread: Re: NSConditionLock vs MPQueue
  • Next by thread: Re: addObserver:
  • Index(es):
    • Date
    • Thread