• 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: Question regarding NSArrayController, KVO and Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question regarding NSArrayController, KVO and Core Data


  • Subject: Re: Question regarding NSArrayController, KVO and Core Data
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 15 Jan 2006 16:03:06 -0800


On Jan 15, 2006, at 10:53 AM, Todd Cash wrote:

In my AppDelegate I've tried both of these code snippets but my implementation of observerValueForKeyPath:ofObject:change:context: is never getting called -

[logsController addObserver:self forKeyPath@"selection.date" options:NSKeyValueObservingOptionNew context:NULL];

Where did you put this code? Is logsController nil...?

Note you should avoid using NULL as the context. At some stage you may need to discriminate between observations.

mmalc

_______________________________________________
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


References: 
 >Question regarding NSArrayController, KVO and Core Data (From: Todd Cash <email@hidden>)

  • Prev by Date: Re: Calculating volume free space
  • Next by Date: Re: Calculating volume free space
  • Previous by thread: Question regarding NSArrayController, KVO and Core Data
  • Next by thread: Re: Question regarding NSArrayController, KVO and Core Data
  • Index(es):
    • Date
    • Thread