Re: more on stable sorting...
Re: more on stable sorting...
- Subject: Re: more on stable sorting...
- From: matt neuburg <email@hidden>
- Date: Wed, 20 Nov 2002 11:38:32 -0800
On Tue, 19 Nov 2002 12:20:53 -0800, Steve Mykytyn <email@hidden> said:
>
memory. The best workaround for my purpose is to keep a small
>
persistent list of the most recently sorted columns, and use those to
>
break ties as needed. But a good deal of complexity, either user
>
interface or coding, is introduced with any solution i've come up with
>
so far.
I don't understand that part of the statement. In a table, for example, I can let the user sort a column by clicking the header, then sort another column persistently by shift-clicking the header. That not only is not a complex user interface, it is the expected user interface. The code that deals with this works just as you describe above and is extremely simple too. Since Cocoa lets you slot your own comparison routine into any sorting action I just don't see what's to be gained by having something built into the framework that is so easy to implement yourself. m.
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.