• 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: Str255 to NSString and Back
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Str255 to NSString and Back


  • Subject: Re: Str255 to NSString and Back
  • From: Ian Anderson <email@hidden>
  • Date: Fri, 8 Jul 2005 15:32:52 -0700

On Jul 8, 2005, at 3:31 PM, Andrew Thompson wrote:

On Friday, July 08, 2005, at 05:50PM, Ian Anderson <email@hidden> wrote:


You need to use CFString to convert to and from a Pascal string.
CFStringCreateWithPascalString() and CFStringGetPascalString()


Yes, but an NSString *is* a CFString due to toll free bridging, so those functions will work with any NSString (unless it's too long!).


AndyT


Right.  I should've said "CFString functions".

Ian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Str255 to NSString and Back (From: Kodex <email@hidden>)
 >Re: Str255 to NSString and Back (From: Ian Anderson <email@hidden>)
 >Re: Str255 to NSString and Back (From: Andrew Thompson <email@hidden>)

  • Prev by Date: Re: Str255 to NSString and Back
  • Next by Date: Re: No blinking cursor in my text field.
  • Previous by thread: Re: Str255 to NSString and Back
  • Next by thread: What is a "positional parameter" in the context of localizable strings?
  • Index(es):
    • Date
    • Thread