• 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 Array Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sorting Array Problems


  • Subject: Re: Sorting Array Problems
  • From: Andreas Mayer <email@hidden>
  • Date: Thu, 21 Jul 2005 21:47:53 +0200


Am 21.07.2005 um 21:16 Uhr schrieb Kodex:

Ok so I am sorting an array based on its characters,

Is there any specific reason you are not using one of the array sorting methods?


Like this one:

- (NSArray *)sortedArrayUsingSelector:(SEL)comparator

Anyone know what im doing wrong cause i cant seem to
find the problem here. Thanks!

Sorry, too lazy to check it thoroughly ... :} but it's probably something to do with you moving objects around inside the array without accounting for this in your loops.



Andreas _______________________________________________ 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: Sorting Array Problems
      • From: Kodex <email@hidden>
References: 
 >Sorting Array Problems (From: Kodex <email@hidden>)

  • Prev by Date: Re: Strange issue when converting from hex to float
  • Next by Date: Re: Sorting Array Problems
  • Previous by thread: Sorting Array Problems
  • Next by thread: Re: Sorting Array Problems
  • Index(es):
    • Date
    • Thread