Modified date in CoreData model
Modified date in CoreData model
- Subject: Modified date in CoreData model
- From: Aaron Wallis <email@hidden>
- Date: Sat, 14 Jul 2007 15:43:46 +1000
Hi all.
I'm stuck in a bit of an infinite loop here guys,
I need to set a *modified date* value for a CoreData model i'm
building. I've been using the following peice of code, but for
obvious reasons, it causes an infinite loop.
- ( void ) didChangeValueForKey : ( NSString * ) key
{
[self setValue:[NSDate date] forKey:@"modifiedDate"];
}
how would I go about doing such a thing?
ta
________________________/Az.________
http://isnot.tv
_______________________________________________
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