Re: Force arrayController to remove immediately?
Re: Force arrayController to remove immediately?
- Subject: Re: Force arrayController to remove immediately?
- From: Ben Lachman <email@hidden>
- Date: Sat, 16 Feb 2008 21:29:00 -0500
On Feb 16, 2008, at 3:31 PM, Justin Hawkwood wrote:
Run as is, the removed object is still included when updateTime is
called. If I use the timer instead, in removeProfileEntry, then
updateTime functions properly, but it creates a separate undo
event, which I don't want.
You can always turn off undo registration for a block of time using
NSUndoManager's disableUndoRegistration method (and its enable...
companion). This would take care of the duplication of undo events.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
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