On 2 Dec 2010, at 17:32, Kirk Kerekes wrote:

> If you convert the NSString into an NSData,(dataUsingEncoding:) and then 
> Base64 encode it into an NSString, doesn't that get you what you want?
> 


Converting the string to an NSData rep and dumping out as a property list will 
encode the NSData as base-64

+ (NSInteger)writePropertyList:(id)plist toStream:(NSOutputStream *)stream 
format:(NSPropertyListFormat)formatoptions:(NSPropertyListWriteOptions)opt 
error:(NSError **)error

Regards

Jonathan Mitchell

Developer
Mugginsoft LLP
http://www.mugginsoft.com_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to