Re: Core Data App With Auxiliary Panel
Re: Core Data App With Auxiliary Panel
- Subject: Re: Core Data App With Auxiliary Panel
- From: Kyle Sluder <email@hidden>
- Date: Fri, 31 Jul 2009 23:04:23 -0700
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.
Need to correct myself here. Instance variable access is a last
resort, performed only when there is no KVC-compliant accessor for the
requested key.
Sorry for th misinformation.
--Kyle Sluder
_______________________________________________
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