Re: NSData text representation
Re: NSData text representation
- Subject: Re: NSData text representation
- From: Charles Steinman <email@hidden>
- Date: Thu, 19 Jun 2008 12:18:43 -0700 (PDT)
--- On Thu, 6/19/08, Trygve Inda <email@hidden> wrote:
> From: Trygve Inda <email@hidden>
> Subject: NSData text representation
> To: "Cocoa-Dev List" <email@hidden>
> Date: Thursday, June 19, 2008, 11:50 AM
> In my plist (xml1 format) I see something like:
>
> <data>
> +/YgByAMQo78MBADoA
> </data>
>
> However when I send a [myNSData description] I get
> something like:
>
> <47050000 78da8d53 cb4ac340 146d1ea0 a0b8f133 5c09>
>
> How can I get something more like the first example that I
> can copy/paste
> into a plist?
See -[NSString initWithData:encoding:].
Cheers,
Chuck
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden