• 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: NSFileManager and rename file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager and rename file


  • Subject: Re: NSFileManager and rename file
  • From: Seth Willits <email@hidden>
  • Date: Tue, 1 Feb 2005 11:19:57 -0800

On Feb 1, 2005, at 9:43 AM, Peter Karlsson wrote:

I wonder what the right way is to rename a file with NSFileManager?

You can use movePath:toPath:handler for this. Set to the toPath to the path with the new name.


- (BOOL)movePath:(NSString *)source toPath:(NSString *)destination handler:(id)handler



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic


"And in the insanity I've found freedom and safety; the freedom of
loneliness and the safety of not being understood, because those who
understand us enslave a part of our being."
-- Kahlil Gibran
------------------------------------------------------------------------ ---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSFileManager and rename file (From: "Peter Karlsson" <email@hidden>)

  • Prev by Date: Re: + initialize docs conflict?
  • Next by Date: Re: NSFileManager and rename file
  • Previous by thread: NSFileManager and rename file
  • Next by thread: Re: NSFileManager and rename file
  • Index(es):
    • Date
    • Thread