• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Easiest way to delete a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Easiest way to delete a file (From: email@hidden (Ben Mackin))

  • Prev by Date: Easiest way to delete a file
  • Next by Date: Re: Database
  • Previous by thread: Easiest way to delete a file
  • Next by thread: Re: Easiest way to delete a file
  • Index(es):
    • Date
    • Thread