Re: print object by %@
Re: print object by %@
- Subject: Re: print object by %@
- From: Ron Fleckner <email@hidden>
- Date: Thu, 22 Jul 2010 22:05:21 +1000
On 22/07/2010, at 9:32 PM, Ariel Feinerman wrote:
> Hi developers,
>
> I search in google, but can see nothing. Is there Cocoa fuction for objects
> like printf(), without timestamps?
>
> --
> best regards
> Ariel
Depending on the information you want to see in printf, you can use NSStringFromClass(anObject class) and or [anObject description]. You'd need to convert them to UTF8Strings.
Ron
_______________________________________________
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