• 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: Non-nil terminated C string to NSString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-nil terminated C string to NSString


  • Subject: Re: Non-nil terminated C string to NSString
  • From: Henri Sivonen <email@hidden>
  • Date: Fri, 4 Aug 2006 10:08:54 +0300

On 02/08/06, Ben Phipps <email@hidden> wrote:
I want to turn a non-nil terminated c string (such as the one
received from Keychain) into an NSString.  Since
stringWithCString:length: is deprecated in 10.4, what is the correct
way to do this?

initWithBytes:length:encoding

--
Henri Sivonen
email@hidden
http://hsivonen.iki.fi/


_______________________________________________ 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: 
 >Non-nil terminated C string to NSString (From: Ben Phipps <email@hidden>)
 >Re: Non-nil terminated C string to NSString (From: "Finlay Dobbie" <email@hidden>)

  • Prev by Date: resolving aliases
  • Next by Date: Re: Question about background updating of an NSTableView.
  • Previous by thread: Re: Non-nil terminated C string to NSString
  • Next by thread: Pull-down NSPopUpButton with checked item?
  • Index(es):
    • Date
    • Thread