• 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: Chris Parker <email@hidden>
  • Date: Tue, 1 Feb 2005 11:35:42 -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?

Use the NSFileManager's movePath:toPath:handler: method.

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSFileManager.html#//apple_ref/occ/cl/ NSFileManager

.chris

--
Chris Parker
Cocoa Frameworks
Apple, Inc.


_______________________________________________ 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: NSFileManager and rename file
  • Next by Date: Re: + initialize docs conflict?
  • Previous by thread: Re: NSFileManager and rename file
  • Next by thread: RE: Re: NSFileManager and rename file
  • Index(es):
    • Date
    • Thread