Re: print object by %@
Re: print object by %@
- Subject: Re: print object by %@
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 22 Jul 2010 14:11:40 +0200
Le 22 juil. 2010 à 13:32, Ariel Feinerman a écrit :
> Hi developers,
>
> I search in google, but can see nothing. Is there Cocoa fuction for objects
> like printf(), without timestamps?
Not the most efficient way, but straightforward for debugging purpose:
printf("%s", [[NSString stringWithFormat:@"format string", args] UTF8String]);
-- Jean-Daniel
_______________________________________________
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