• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
File Detection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: File Detection
      • From: Andreas Schempp <email@hidden>
    • Re: File Detection
      • From: Nathan Day <email@hidden>
  • Prev by Date: Re: strange malloc error
  • Next by Date: Converting NSPasteboard to NSData
  • Previous by thread: Re: Custom View
  • Next by thread: Re: File Detection
  • Index(es):
    • Date
    • Thread