Re: NSWorkspace or NSFileManager?
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.