• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSArrayControllers and sorting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSArrayControllers and sorting
      • From: Jim Hamilton <email@hidden>
  • Prev by Date: Re: Adding Spotlight keywords to files
  • Next by Date: Re: one additional piece of info about the pdfview problem
  • Previous by thread: Resolving network aliased paths?
  • Next by thread: Re: NSArrayControllers and sorting
  • Index(es):
    • Date
    • Thread