• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data and undo with unmodeled properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Core Data and undo with unmodeled properties (From: email@hidden)

  • Prev by Date: Re: Preference pane deployment
  • Next by Date: Developer for SOAP
  • Previous by thread: Core Data and undo with unmodeled properties
  • Next by thread: PSContent HTML retrieval
  • Index(es):
    • Date
    • Thread