Re: cString deprecated!
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.