Re: NSUndoManager retain/release of arguments - ad infinitum
Re: NSUndoManager retain/release of arguments - ad infinitum
- Subject: Re: NSUndoManager retain/release of arguments - ad infinitum
- From: Graham Cox <email@hidden>
- Date: Sat, 15 Jan 2011 09:08:09 +1100
On 15/01/2011, at 4:50 AM, Uli Kusterer wrote:
> Guys, why is sorting like this even an undo-able action in your apps ... ? That's pointless.
Not always pointless. Probably mostly. Depends on the app.
Personally I have never bothered to make sorting undoable - I was thinking hypothetically. However I have implemented the caching of sorting in the manner described (though more as a controller-level implementation than a model one) because I've found that sorting thousands of items when supplying them to e.g. a table view or icon view to be a major performance drag.
--Graham
_______________________________________________
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