mogenerator and key path error
mogenerator and key path error
- Subject: mogenerator and key path error
- From: "Ayers, Joseph" <email@hidden>
- Date: Tue, 27 Mar 2012 14:12:31 -0400
- Acceptlanguage: en-US
- Thread-topic: mogenerator and key path error
I have a CoreData entity named Tapes.
I used mogenerator to create:
_Tapes.h where:
@interface Tapes : _Tapes {}
and Tapes.h where
@interface _Tapes : NSManagedObject {}
I declare an instance tapes in AppDelegate.h as:
@property (nonatomic, retain) Tapes * tapes;
and in AppDelegate.m as
@dynamic tapes;
In mainMenu.xib I have a NSArrayController. TapesController:NSArrayController
With ObjectController mode set to EntityName
and the EntityName set to tapes
In ContentController TapeController is bound to AppDelegate
with Model Key Path set to tapes and Raises For Not Applicable Keys checked
Under parameters, ManagedObjectContext is bound to AppDelegate.managedObjectContext
A Second NSArrayController VideoClip has a ContentSet
TapesController.selection.VideoClip
Under parameters, ManagedObjectContext is bound to AppDelegate.managedObjectContext
At run time, I get the Error:
2012-03-27 13:53:09.787 Roboplasm[72209:403] Cocoa Bindings: Error accessing value for key path tapes of object <AppDelegate: 0x7f94c5343f10> (from bound object <TapesController: 0x7f94c5317db0>[entity: tapes, number of selected objects: 0]): [<AppDelegate 0x7f94c5343f10> valueForUndefinedKey:]: this class is not key value coding-compliant for the key tapes.
Any Idea where I have gone astray?
Thanks,
Joseph
_______________________________________________
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