best way to compare selectors?
best way to compare selectors?
- Subject: best way to compare selectors?
- From: Ken Victor <email@hidden>
- Date: Wed, 2 May 2007 15:36:23 -0700
whats the best and future proof way to compare 2 selectors?
i've been using:
[NSStringFromSelector( selector1) isEqualToString:
NSStringFromSelector( selector2)]
but i'm wondering if i could safely use:
selector1 == selector2
(which would obviously be faster).
thanx,
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:
This email sent to email@hidden