Thank you for yours, but I am looking for more convenient way, I mean a function for console output, not for debugging like NSLog(),
so I wish: NSLog(@"object is %@", obj); // $ object is [object description] I would not wish to convert NSString to utf8 for printf(), I wish to use NSString 2010/7/22 Jean-Daniel Dupas <devli...@shadowlab.org> > 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 > > > > > -- best regards Ariel _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com