FROM : matt neuburg
DATE : Wed Nov 20 20:38:32 2002
On Tue, 19 Nov 2002 12:20:53 -0800, Steve Mykytyn <<email_removed>> 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_removed>, 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Wed Nov 20 20:38:32 2002
On Tue, 19 Nov 2002 12:20:53 -0800, Steve Mykytyn <<email_removed>> 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_removed>, 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Steve Mykytyn | Nov 19, 21:20 | |
| Buddy Kurz | Nov 20, 16:54 | |
| matt neuburg | Nov 20, 20:38 | |
| Steve Mykytyn | Nov 20, 21:13 | |
| Philippe Mougin | Nov 22, 12:09 | |
| Chris Hanson | Nov 22, 12:57 | |
| Sam Griffith | Nov 22, 16:01 | |
| Chris Hanson | Nov 22, 18:53 | |
| Dennis De Mars | Nov 22, 22:12 | |
| Chris Kane | Dec 8, 02:03 |






Cocoa mail archive

