• 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
Re: (RS)What's the type of a selector?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (RS)What's the type of a selector?


  • Subject: Re: (RS)What's the type of a selector?
  • From: "Clark Cox" <email@hidden>
  • Date: Fri, 27 Oct 2006 22:13:43 -0400

On 10/27/06, Roland Silver <email@hidden> wrote:
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???

NSLog(@"%@", NSStringFromSelector(aSelector));

--
Clark S. Cox III
email@hidden
_______________________________________________
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


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>)
 >(RS)What's the type of a selector? (From: Roland Silver <email@hidden>)

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