• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: print object by %@
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >print object by %@ (From: Ariel Feinerman <email@hidden>)

  • Prev by Date: Re: print object by %@
  • Next by Date: Re: print object by %@
  • Previous by thread: Re: print object by %@
  • Next by thread: Re: print object by %@
  • Index(es):
    • Date
    • Thread