Re: Easiest way to delete a file
Re: Easiest way to delete a file
- Subject: Re: Easiest way to delete a file
- From: Eric Peyton <email@hidden>
- Date: Thu, 10 Jan 2002 11:42:30 -0600
Look at NSFileManager ...
- (BOOL)removeFileAtPath:(NSString *)path handler:handler;
You will want to read the documentation to understand the handler
correctly.
Eric
On Thursday, January 10, 2002, at 11:24 AM, Ben Mackin wrote:
If I have the path to a file what is the easiest way to delete it (for
the record the files are log files and temp files my app makes in the
users home directory. I am not talking about a virus or something)
Sorry if this is a simple question, but I am just learning Cocoa.
Thanks,
Ben
_______________________________________________
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.