• 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: SEL and NSSelectorFromString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SEL and NSSelectorFromString


  • Subject: Re: SEL and NSSelectorFromString
  • From: Jeff Galyan <email@hidden>
  • Date: Sun, 20 Jan 2002 11:07:25 -0700

> JB> {
> JB> NSLog(@"%@",@"\nItem1 selected");
> JB> }
>

You can make life easier for yourself with the NSLog call by changing it to
this:
NSLog(@"Item1 selected");

NSLog puts newlines in at the end of every line it logs automatically. You
only need to use printf-style formatting strings if you're going to pass
more than one arg to NSLog.

--Jeff


References: 
 >Re: SEL and NSSelectorFromString (From: Ondra Cada <email@hidden>)

  • Prev by Date: Location of .jar files?
  • Next by Date: Re: Location of .jar files?
  • Previous by thread: Re: SEL and NSSelectorFromString
  • Next by thread: Centering a view in an NSScrollView
  • Index(es):
    • Date
    • Thread