Re: Can't create temporary file
Re: Can't create temporary file
- Subject: Re: Can't create temporary file
- From: Rick Mann <email@hidden>
- Date: Thu, 19 May 2011 21:46:10 -0700
On May 19, 2011, at 16:48 , Quincey Morris wrote:
> On May 19, 2011, at 11:55, Rick Mann wrote:
>
>> It seems Cocoa is lacking in file-creation APIs (none URL-based, none return an error object).
>
> How about:
>
> [[NSData data] writeToURL: myURL options: 0 error: &error];
That requires that I build the content in memory first. I wanted to write it as I built it.
_______________________________________________
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