• 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: problem with NSString, UTF8, pathnames
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with NSString, UTF8, pathnames


  • Subject: Re: problem with NSString, UTF8, pathnames
  • From: "Clark Cox" <email@hidden>
  • Date: Thu, 25 Oct 2007 12:35:43 -0700

On 10/25/07, stephen joseph butler <email@hidden> wrote:
> On 10/25/07, Clark Cox <email@hidden> wrote:
> > It is harmful, always use this:
> >
> > NSLog(@"%@", [validCocoaObject description] );
>
> That's a little redundant. "%@" expands to -[NSObject description]
> anyway, so you can just do this:
>
> NSLog(@"%@", validCocoaObject );

Indeed, however the using the (@"%@") as the first parameter is the
important part.


--
Clark S. Cox III
email@hidden
_______________________________________________

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

References: 
 >problem with NSString, UTF8, pathnames (From: "James Stein" <email@hidden>)
 >Re: problem with NSString, UTF8, pathnames (From: "Clark Cox" <email@hidden>)
 >Re: problem with NSString, UTF8, pathnames (From: "stephen joseph butler" <email@hidden>)

  • Prev by Date: Sending a msg. to a class
  • Next by Date: Re: Sending a msg. to a class
  • Previous by thread: Re: problem with NSString, UTF8, pathnames
  • Next by thread: Re: problem with NSString, UTF8, pathnames
  • Index(es):
    • Date
    • Thread