Re: NSFileManager and rename file
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