• 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: cString, (deprecated), lossyCString, fileSystemRepresentation, %@
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cString, (deprecated), lossyCString, fileSystemRepresentation, %@


  • Subject: Re: cString, (deprecated), lossyCString, fileSystemRepresentation, %@
  • From: Nicholas Riley <email@hidden>
  • Date: Tue, 8 Oct 2002 21:33:52 -0500
  • Mail-followup-to: Gerben Wierda <email@hidden>, email@hidden

On Wed, Oct 09, 2002 at 01:48:00AM +0200, Gerben Wierda wrote:
> When I use %@ in a format in an NSString, what is used to go from
> NSString to char *? I always assumed it to be cSrring, but isnce that
> is deprecated, which one is it?

This is in the documentation, if you look up +[NSString
stringWithFormat:] and follow the link to "Using Format Strings":

%@ Objective-C object, printed as the string returned by
descriptionWithLocale: if available, or description otherwise


--
=Nicholas Riley <email@hidden> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: cString, (deprecated), lossyCString, fileSystemRepresentation, %@
      • From: Charles Srstka <email@hidden>
References: 
 >cString, (deprecated), lossyCString, fileSystemRepresentation, %@ (From: Gerben Wierda <email@hidden>)

  • Prev by Date: NSEvent mouse events
  • Next by Date: Re: cString, (deprecated), lossyCString, fileSystemRepresentation, %@
  • Previous by thread: cString, (deprecated), lossyCString, fileSystemRepresentation, %@
  • Next by thread: Re: cString, (deprecated), lossyCString, fileSystemRepresentation, %@
  • Index(es):
    • Date
    • Thread