• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSFileManager


  • Subject: Re: NSFileManager
  • From: Chris Parker <email@hidden>
  • Date: Sun, 17 Feb 2008 13:02:02 -0800


On 16 Feb 2008, at 1:01 AM, Peter Maurer wrote:

Can anyone tell me if the NSFileManager methods
movePath:toPath:handler
and
copyPath:toPath:handler:

Are safe to use, ie: do they copy all the information that Apple's file systems have (ie: including things like resource forks, etc).

Last time I checked, comments weren't preserved -- you'll have to transfer those by hand. Resource forks are fine, as far as I remember.

Almost everything should be preserved these days, including comments if you're copying files on Leopard with either copyPath:toPath:handler: or the newer copyItemAtPath:toPath:error:.


.chris

--
Chris Parker
Cocoa Frameworks
Apple Inc.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSFileManager (From: SD <email@hidden>)
 >Re: NSFileManager (From: Peter Maurer <email@hidden>)

  • Prev by Date: Re: CFDictionary callback on PPC vs Intel
  • Next by Date: Re: NSPreferencePane IB Problem (fixed)
  • Previous by thread: Re: NSFileManager
  • Next by thread: NSPopUpButton subclass + Tracking Rects don't generate enter/exit events
  • Index(es):
    • Date
    • Thread