• 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
- (void)sortUsingSelector:(SEL)comparator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

- (void)sortUsingSelector:(SEL)comparator


  • Subject: - (void)sortUsingSelector:(SEL)comparator
  • From: peter mysliwy <email@hidden>
  • Date: Wed, 25 Jul 2001 12:48:12 -0400

Hello;
I am new to apple and ObjectiveC and started by playing around with
NSArray and NSMutableArray to learn something about the native datatypes.

The question I have How do I sort a NSArray using
- (void)sortUsingSelector:(SEL)comparator

What does (SEL)comparator mean??

From what I can figure out is that comparator is a switch. Any Info??

thanks
Peter


  • Follow-Ups:
    • Re: - (void)sortUsingSelector:(SEL)comparator
      • From: "Dennis C. De Mars" <email@hidden>
    • Re: - (void)sortUsingSelector:(SEL)comparator
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: Run Loops
  • Next by Date: Re: Obj-C vs Java
  • Previous by thread: Re: NSImage Drawing
  • Next by thread: Re: - (void)sortUsingSelector:(SEL)comparator
  • Index(es):
    • Date
    • Thread