• 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
Re: sorting a pair of arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sorting a pair of arrays


  • Subject: Re: sorting a pair of arrays
  • From: Mikkel Islay <email@hidden>
  • Date: Tue, 28 Jun 2011 20:06:19 +0200

On 28 Jun 2011, at 18:40, Gregory Weston wrote:

> Which fails the if there's any possibility that the items in the first array aren't unique. Better two have an array of dictionaries where each dictionary holds a respective pair from the current two arrays as their own objects]

Granted, but in that case you might also consolidate objects for identical keys, to retain the "natural" index and easily inspect related objects.

Mikkel_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: sorting a pair of arrays
      • From: "Rick C." <email@hidden>
References: 
 >Re: sorting a pair of arrays (From: Gregory Weston <email@hidden>)

  • Prev by Date: Re: Reading Adobe Photoshop header, Obj-C
  • Next by Date: Re: dispatch_async Performance Issues
  • Previous by thread: Re: sorting a pair of arrays
  • Next by thread: Re: sorting a pair of arrays
  • Index(es):
    • Date
    • Thread