• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
(RS)What's the type of a selector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(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


  • Follow-Ups:
    • Re: (RS)What's the type of a selector?
      • From: "Clark Cox" <email@hidden>
References: 
 >What's the type of a selector? (From: Roland Silver <email@hidden>)
 >Re: What's the type of a selector? (From: Stephan Cleaves <email@hidden>)

  • Prev by Date: Re: What's the type of a selector?
  • Next by Date: Re: What's the type of a selector?
  • Previous by thread: Re: What's the type of a selector?
  • Next by thread: Re: (RS)What's the type of a selector?
  • Index(es):
    • Date
    • Thread