Re: Core Data App With Auxiliary Panel
Re: Core Data App With Auxiliary Panel
- Subject: Re: Core Data App With Auxiliary Panel
- From: Chris Hanson <email@hidden>
- Date: Sat, 01 Aug 2009 02:48:12 -0700
The below is incorrect. Key-Value Coding (and therefore Key-Value
Observing and bindings) will always use a method if one is present.
-- Chris
On Jul 31, 2009, at 8:33 PM, Kyle Sluder <email@hidden> wrote:
Because you have a managedObjectContext ivar, you never change its
value so it defaults to nil, and +[NSObject(NSKeyValueCoding)
accessInstanceVariablesDirectly] returns YES, -[AuxPanelController
objectForKey:@"managedObjectContext"] will always return nil. Ditch
the ivar.
_______________________________________________
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