Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: best way to compare selectors?



At 9:41 AM -0700 5/4/07, mmalc crawford wrote:
On May 2, 2007, at 3:36 PM, Ken Victor wrote:

whats the best and future proof way to compare 2 selectors?
[...]
but i'm wondering if i could safely use:
	selector1 == selector2

This is not necessarily future-proof.

thats what i was afraid of. so then, is the best future proof way, that can be written today, to compare strings using NSStringFromSelector?


ken

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >best way to compare selectors? (From: Ken Victor <email@hidden>)
 >Re: best way to compare selectors? (From: mmalc crawford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.