• 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: best way to compare selectors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best way to compare selectors?


  • Subject: Re: best way to compare selectors?
  • From: Rosyna <email@hidden>
  • Date: Fri, 4 May 2007 10:30:18 -0700

Yes, you can safely use that. And it is future proof.

http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_4_section_6.html#//apple_ref/doc/uid/TP30001163-CH7-TPXREF128

"The runtime system makes sure each identifier is unique: No two selectors are the same, and all methods with the same name have the same selector."


Ack, at 5/2/07, Ken Victor said:

but i'm wondering if i could safely use:

selector1 == selector2

--


Sincerely, Rosyna Keller Technical Support/Carbon troll/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >best way to compare selectors? (From: Ken Victor <email@hidden>)

  • Prev by Date: Document init
  • Next by Date: Re: best way to compare selectors?
  • Previous by thread: Re: best way to compare selectors?
  • Next by thread: Re: best way to compare selectors?
  • Index(es):
    • Date
    • Thread