Re: Looks KVC-compliant to me, but Cocoa says it ain't
Re: Looks KVC-compliant to me, but Cocoa says it ain't
- Subject: Re: Looks KVC-compliant to me, but Cocoa says it ain't
- From: "I. Savant" <email@hidden>
- Date: Wed, 19 Sep 2007 16:58:58 -0400
Okay, I swear this is the last message I'm going to fire off on this
subject while I'm trying to rush out the door to face rush hour
traffic ...
id glueObject = [[glueClass alloc] init] ;
... if this is meant to be used with Core Data, it must be a
subclass of NSManagedObject and cannot be created this way. You have
to do it Core Data's way:
id glueObject = [NSEntityDescription
insertNewObjectForEntityForName:@"Entry" inManagedObjectContext:[self
managedObjectContext]];
I have no idea if this is the cause of your KVC compliance problem,
but this is definitely *a* problem. Sorry for the earlier noise; I'm
rushed and should just have kept my mouth shut. :-D
--
I.S.
_______________________________________________
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