In which case you need to set up KVO of the properties in a controller object of some kind and use that to register the undos. Of course, Core Data does this all automatically :)

On 13 May 2008, at 13:47, Laurent Cerveau wrote:

When reading through the doc for Document based application the advice is to implement undo by making setter invoking prepareInvocationWithTarget.

Is there a way to have this done "automatically" with properties. For now it looks to me like I have to remove all @synthetize directive and rewrite accessors for this.

Best

laurent

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to