• 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 21:10:40 -0800


On Jan 15, 2006, at 8:30 PM, Todd Cash wrote:

I have the code in the AwakeFromNib method in my AppDelegate.
LogController is not null at that point (but it has no records in it yet).


'AwakeFromNib' or 'awakeFromNib'?

If 'awakeFromNib', and logsController is correctly set when you invoke:

[logsController addObserver:self forKeyPath:@"selection.name" options:NSKeyValueObservingOptionNew context:NameBindingIdentifier];

then the observe... method should be called.

I've also tried wiring this up to the ManagedObjectContext but that does not work either.

In what sense, wired up to the context?

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: 
 >Re: Question regarding NSArrayController, KVO and Core Data (From: Todd Cash <email@hidden>)

  • Prev by Date: Re: Seemingly bizzare calling of method
  • Next by Date: Copying files synchronously with Cocoa?
  • Previous by thread: Re: Question regarding NSArrayController, KVO and Core Data
  • Next by thread: Parsing iTunes XML to NSTableView
  • Index(es):
    • Date
    • Thread