How to properly print a SEL type variable?
How to properly print a SEL type variable?
- Subject: How to properly print a SEL type variable?
- From: vincent habchi <email@hidden>
- Date: Wed, 7 Jul 2010 07:07:44 +0200
Hi there,
this is a very simple question, but I don't seem to find the answer anywhere.
What is the proper format to use in NSLog to print out a SEL type variable? E.g.
SEL aSelector = @selector (foo);
NSLog ("%<What shall I put here?>", foo);
If I use %s, it works, but I get a warning because the variable is not of the char* type.
Thanks!
Vincent_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden