How to keep creation/modification date of a (Core Data) object?
How to keep creation/modification date of a (Core Data) object?
- Subject: How to keep creation/modification date of a (Core Data) object?
- From: "Arthur C." <email@hidden>
- Date: Sat, 07 Jul 2007 21:39:45 +0200
This must be a simple use of setKeys:
triggerChangeNofiticationsForDependentKey, but I can't find the right method
for the key 'modificationDate'...
Creation date is easy, just an awakeFromInsert will do.
But the modification date (obviously) has to change whenever any of the keys
in the object changes. Moreover, it has to keep its value when we are just
asking for the modification date (getter method), and on program
shutdown/restart.
So, what is a clean way to do this?
Well, thanks for your time,
Arthur C.
_________________________________________________________________
Hotmail en Messenger on the move http://www.msn.nl/services
_______________________________________________
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