Re: Core Data and undo with unmodeled properties
Re: Core Data and undo with unmodeled properties
- Subject: Re: Core Data and undo with unmodeled properties
- From: Cyril Anger <email@hidden>
- Date: Sun, 25 Nov 2007 12:38:31 +0100
Here is the code of my class to better illustrate the problem :
@interface Account : NSManagedObject {
NSString *testVar;
}
@property (retain) NSString *testVar;
@end
@implementation Account
@synthesize testVar;
@end
Let me add that testVar is not in the entity Account of my Core Data
model so my guess is it souldn't get undo for free.
But if I do something like anAccount.testVar = @"Test"; the undo menu
gets activated. If I click on the undo menu, nothing happens and
testVar is not resetted to its old value.
Is this a bug or is it normal behavior ?
Thanks,
Cyril Anger
_______________________________________________
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