Re: using printf to print objects
Re: using printf to print objects
- Subject: Re: using printf to print objects
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 22 Oct 2004 11:32:26 -0700
On Oct 22, 2004, at 9:38 AM, Gwynne wrote:
On Oct 22, 2004, at 12:30 PM, mail4 wrote:
I like NSLog, yet I find it too verbose.
I would like to use printf for objects.
Any Suggestions
p.s. I am primarily a command line programmer, thus I the app-kit
outputs do not suit me
Depending on the level of verbosity you want from objects such as
NSDictionary:
printf( "%s", [someObject description] );
This won't work. -description returns an NSString pointer, not a char
*.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden