File Detection
File Detection
- Subject: File Detection
- From: "Anthony Cheung" <email@hidden>
- Date: Mon, 28 Apr 2003 16:51:09 +0800
Hello everyone,
I am writing a Cocoa application which detects what files are go into a
folder, that is a hot folder. I have checked NSFileManager which provides a
delegate method - willProcessPath: . However, it seems that NSFileManager
doesn't have any notification center.
Then what I do is to attach a NSTimer and regularly check if there is any new
file come into the folder. However, I am afraid that will involve a lot of
processor resource. Would you kindly suggest another method.
Regards,
Anthony Cheung
_______________________________________________
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.