NSArrayControllers and sorting
NSArrayControllers and sorting
- Subject: NSArrayControllers and sorting
- From: Edwin Vane <email@hidden>
- Date: Sat, 6 Aug 2005 00:47:03 -0400
- Mail-followup-to: Cocoa-Dev <email@hidden>
Hi,
>From the literature I've seen, it looks like array controllers manage
arrays that have no underlying sorting and that array controllers can
present the array in some sorted manner to the view.
Now, does it make sense to have a subclass of an array controller (I
would guess) to keep the array it's bound to in some permanent sorted
order (such as if the array is sorted by floating point time values)?
Inserting something into the middle of an array, causing all later
elements to be shifted, would trigger a whole bunch of change
notifications would it not?
--
Edwin Vane
MMath Candidate
Computer Graphics Lab
School of Computer Science
University of Waterloo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden