NSFileManager notification
NSFileManager notification
- Subject: NSFileManager notification
- From: M Ramachandra Acharya <email@hidden>
- Date: Mon, 01 Apr 2002 06:30:19 +0530
Hello everyone
I am writing a Cocoa application which allows the user to perform the file
related operations like copy, move etc in view similar to the Finder window.
I use NSFileManager for the file operations. I would like to be notified
when a copy or a move operation is completed. I am not able to get the
callbacks/notification/events with respect to the file operations. The
completion notification is necessary to refresh the UI.
There are two callback messages (for the operation handlers) in
NSFileManager "fileManager:willProcessPath:" and
"fileManager:shouldProceedAfterError:" which indicates the start of the
operation or the failure of the operation. I could not find any callbacks to
indicate the completion of the operation. It seems like NSFileManager does
not have any notification centers either.
Can anyone kindly let me know how I can get these completion
notifications/callbacks in a Cocoa application?
TIA
Regards
Ram
--------------------------------------------------------------
Robosoft Technologies, Mangalore, India
_______________________________________________
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.