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

Copying things


  • Subject: Copying things
  • From: "John C. Daub" <email@hidden>
  • Date: Sun, 24 Jun 2001 13:46:04 -0500

Hello.

I'm fiddling around with Objective C and Cocoa (I come from the C++/Carbon
world), and I'm curious what the "best" (or maybe that should be "blessed")
way is to copy things: files, folders, whole volumes/disks, etc.. from one
location to another (i.e. not just duplicate in place).

Performance is a bit of an issue, but not the highest priority. However, I
do want to ensure all things about the files are handled correctly, like
resource forks and other DInfo/DXInfo and FInfo/FXInfo. I don't necessarily
wish to care about what the underlying file system is of either the source
or the destination; if it's HFS+ or UFS or WebDAV, whatever... ensure
"correct copying".

Is there a Cocoa mechanism for doing this? or will I need to use Carbon
techniques?

Thanx.

--
John C. Daub }:-)>=
<mailto:email@hidden> <http://www.hsoi.com/>
"Learn to be still." -- Don Henley, the Eagles.


  • Follow-Ups:
    • Re: Copying things
      • From: Greg Titus <email@hidden>
  • Prev by Date: Re: [NEWBIE] Sheets problem
  • Next by Date: Re: Matrix of NSTextFields (creating it in IB)
  • Previous by thread: Re: Confusion
  • Next by thread: Re: Copying things
  • Index(es):
    • Date
    • Thread