Re: creating files to write data to?
Re: creating files to write data to?
- Subject: Re: creating files to write data to?
- From: Devon Ferns <email@hidden>
- Date: Fri, 15 Aug 2008 14:28:43 -0400
NSFileHandle writeData takes an NSData pointer not a string and that's
actually not how you do a string, you're missing the @ in front of it.
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSFileHandle_Class/Reference/Reference.html#//apple_ref/occ/instm/NSFileHandle/writeData:>
Devon
FTB Accounts wrote:
/* WRITE DATA TO FILE: THIS IS A TEST */
[fh writeData:"THIS IS A TEST"];
[fh closeFile];
_______________________________________________
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