Re: problem with NSString, UTF8, pathnames
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