FROM : Cyril Anger
DATE : Sun Nov 25 12:38:31 2007
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
DATE : Sun Nov 25 12:38:31 2007
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
| Related mails | Author | Date |
|---|---|---|
| angeman7 | Nov 23, 10:44 | |
| Cyril Anger | Nov 25, 12:38 |






Cocoa mail archive

