• 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!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cString deprecated!


  • Subject: Re: cString deprecated!
  • From: Kris Amico <email@hidden>
  • Date: Tue, 03 Sep 2002 13:01:33 -0700

Forgive my ignorance, but I am wondering how the technique you describe
below is different from using NSString's lossyCString instance method?

On 9/3/02 9:20 AM, "Matt Neuburg" <email@hidden> wrote:

>
> - (const char*) myCString: (int) encoding {
> return [[[self stringByAppendingString:
> @"\0"] dataUsingEncoding: encoding
> allowLossyConversion:YES]
> bytes];
> }
>


--
Kris Amico <email@hidden>
AIM: Kris Amico, Jabber: email@hidden
Senior Software Engineer
Macintosh Client Software Development
EarthLink, Inc.
_______________________________________________
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!
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: cString deprecated! (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Turn off sheet transparency
  • Next by Date: Re: NSTableView : what about "footer" ?
  • Previous by thread: Re: cString deprecated!
  • Next by thread: Re: cString deprecated!
  • Index(es):
    • Date
    • Thread