Core Data didTurnIntoFault:
Core Data didTurnIntoFault:
- Subject: Core Data didTurnIntoFault:
- From: Alain Schartz <email@hidden>
- Date: Mon, 20 Aug 2007 01:41:24 -0700
Hi list,
Newbie question: I have an NSManagedObject with a transient NSColor attribute. Following the Core Data programming guide, I did not implement dealloc in the managed object's class but specified didTurnIntoFault: to clean up :
-(void) didTurnIntoFault {
[self setColor: nil]; // Actually I did this for every transient non-standard attribute
}
Is this correct? I use pre-calculated getters and delayed-update setters as accessors...
What about [super dealloc], this should not be included in didTurnIntoFault: since Core Data takes care of the managed object's life cycle, right ?
Thanks,
Alain
_______________________________________________
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