I'm trying to use NSWorkspace to copy a package (.wdgt bundle),
using -performFileOperation:source:destination:files:tag:. However,
executing this is simply creating an empty directory of the proper
name in the desired location. If I remove subfolders from the
package (i.e., make it "flat"), the copy works as desired. I'm
experiencing similar behavior with -[NSFileManager
copyPath:toPath:handler:].
Has anyone else experienced this problem?
Are you sure you're not getting an error back from NSFileManager? If -
[NSFileManager copyPath:toPath:handler:] returns NO and you have a
handler object in place that responds to the -
fileManager:shouldProceedAfterError: method, the errorInfo dictionary
will contain some information about what might have gone wrong.
.chris
--
Chris Parker
Cocoa Frameworks
Apple Computer, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden