Re: How to deal with property and Undo?
Re: How to deal with property and Undo?
- Subject: Re: How to deal with property and Undo?
- From: Mike Abdullah <email@hidden>
- Date: Tue, 13 May 2008 16:10:57 +0100
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 (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
_______________________________________________
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