FROM : Mike Abdullah
DATE : Tue May 13 17:10:57 2008
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_removed>)
>
> 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/<email_removed>
>
> This email sent to <email_removed>
DATE : Tue May 13 17:10:57 2008
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_removed>)
>
> 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/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Laurent Cerveau | May 13, 14:47 | |
| Mike Abdullah | May 13, 17:10 | |
| Graham Cox | May 14, 02:19 |






Cocoa mail archive

