• 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: NSWorkspace or NSFileManager?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWorkspace or NSFileManager?


  • Subject: Re: NSWorkspace or NSFileManager?
  • From: Charles Srstka <email@hidden>
  • Date: Tue, 9 Mar 2004 22:58:20 -0600

NSWorkspace requires you to import the AppKit framework. NSFileManager only requires Foundation.

I don't know about you, but lots of the time I'm doing file stuff from a worker thread that only uses the Foundation. So, it's much more convenient (and cleaner) to use NSFileManager, for me anyway.

Charles

On Mar 3, 2004, at 11:23 PM, email@hidden wrote:

i have a quick question is it better to use NSWorkspaces
performFileOperation:source:destination:files:tag: or user NSFileManager to perform file actions (eg copying, moving, deleting)?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSWorkspace or NSFileManager? (From: email@hidden)

  • Prev by Date: Re: sick and not thinking right...
  • Next by Date: Updating multiple NSViews
  • Previous by thread: Re: NSWorkspace or NSFileManager?
  • Next by thread: PackageMaker...what would you add? change?
  • Index(es):
    • Date
    • Thread