(RS)What's the type of a selector?
(RS)What's the type of a selector?
- Subject: (RS)What's the type of a selector?
- From: Roland Silver <email@hidden>
- Date: Fri, 27 Oct 2006 19:57:23 -0600
No, Stephan, I DON'T want to log the method! I want to find out what
the type of a SELECTOR is, eg:
ITEM TYPE
"foo" char*
69 int
105.0 float or double
@"bar" NSString*
@selector(foo) ???
SEL ???
AND...
I know how to NSLog a char* (%s) or an int (%i) or a float or double
(%g, etc) or an NSString* (%@), BUT...
..HOW DO I NSLOG A SELECTOR???
--Roland Silver <email@hidden>
-------------------------------------
On Oct 27, 2006, at 7:46 PM, Stephan Cleaves wrote:
If you want to log the method you are in use this:
NSLog( @"%s", _cmd );
Stephan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden