| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
try to spawn a thread that makes the copy:
[NSThread detachNewThreadSelector:@selector(doTheCopy:)
toTarget:myCopyObject
withObject:myObjectWithInputParams];
then in the method
- (void)doTheCopy:(NSDictionary *)params;
you would call
[[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceCopyOperation ....]
fawzi
On Thursday, May 17, 2001, at 07:27 AM, Steve Gehrman wrote:
I've tried both:
[[NSWorkspace sharedWorkspace] performFileOperation:NSWorkspaceCopyOperation ....]
and
[[NSFileManager defaultManager] copyPath ... ]
and both of them copy files synchronously (spinning rainbow until copy is done). Is there any easy way to do a asynchronous file copy besides writing it all from scratch?
steve
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.