FROM : John Brownlow
DATE : Fri Apr 08 21:40:43 2005
That assumes there is a key on which the objects can be sorted.
But I am interested in an arbitrary order.
The order my friend puts the toys in is whimsical, remember, and does
not map to any particular quality of the toys.
I do not want to have to write my friend's ordering on the toy itself
because it may not be my toy.
On Apr 8, 2005, at 3:28 PM, John Timmer wrote:
>> Here's the problem with the Magic Bag. The toys don't necessarily come
>> out in the order you put them in.
>>
>
> Ah, but there's another magic bag that you can dump the first one into.
> It's called an NSArrayController, and can order your toys based on a
> series
> of NSSortDescriptors, which code nicely and can be stuffed into user
> defaults or the document itself.
>
> JT
>
--
John Brownlow
Deep Fried Films, Inc
http://www.johnbrownlow.com
http://www.pinkheadedbug.com
DATE : Fri Apr 08 21:40:43 2005
That assumes there is a key on which the objects can be sorted.
But I am interested in an arbitrary order.
The order my friend puts the toys in is whimsical, remember, and does
not map to any particular quality of the toys.
I do not want to have to write my friend's ordering on the toy itself
because it may not be my toy.
On Apr 8, 2005, at 3:28 PM, John Timmer wrote:
>> Here's the problem with the Magic Bag. The toys don't necessarily come
>> out in the order you put them in.
>>
>
> Ah, but there's another magic bag that you can dump the first one into.
> It's called an NSArrayController, and can order your toys based on a
> series
> of NSSortDescriptors, which code nicely and can be stuffed into user
> defaults or the document itself.
>
> JT
>
--
John Brownlow
Deep Fried Films, Inc
http://www.johnbrownlow.com
http://www.pinkheadedbug.com
| Related mails | Author | Date |
|---|---|---|
| John Brownlow | Apr 8, 20:09 | |
| John Timmer | Apr 8, 21:28 | |
| John Brownlow | Apr 8, 21:40 | |
| Shawn Erickson | Apr 8, 21:57 | |
| Marcel Weiher | Apr 9, 01:09 | |
| Scott Stevenson | Apr 9, 04:55 | |
| Todd Blanchard | Apr 9, 07:07 | |
| Scott Ellsworth | Apr 9, 09:18 |






Cocoa mail archive

