Re: Newbie Question about Converting From NSTextField to NSData
Re: Newbie Question about Converting From NSTextField to NSData
- Subject: Re: Newbie Question about Converting From NSTextField to NSData
- From: Jonathan Chaffer <email@hidden>
- Date: Thu, 18 Jul 2002 11:09:27 -0400
On Thursday, July 18, 2002, at 10:42 AM, Tom Gray wrote:
As always, thanks in advance and sorry about such a bone headed newbie
question. I am reading an NSTextField and want to convert the string
value
into an NSData type. I am doing this:
<snip>
I know their is a better way.
How about NSString's dataUsingEncoding:?
--
Jonathan Chaffer
Applications Developer, structure:interactive
(616) 364-7423
http://www.structureinteractive.com/
_______________________________________________
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.