from the selector of a given getter function, I need to get the
selector of the equivalent setter function. For instance, from color I
should get setColor.
char* getterName = sel_getName(getterSelector);
char * setterName = ... ? ...
SEL setterSelector = sel_getUid(setterName);
What would be the less costly way, performance wise, to convert the C
string "color" to "setColor"?
I have no experience in working with strings in objc, and was hoping
someone would point me in the right direction before I start.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please 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/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]