• 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
Re: Watch for a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Watch for a file


  • Subject: Re: Watch for a file
  • From: Tom Jones <email@hidden>
  • Date: Wed, 24 Jun 2009 20:25:30 -0700 (PDT)

Thanks Graham. I downloaded Uli's class but I dont see any example code. By any chance do you have a quick example?

Thanks,
tom


----- Original Message -----
From: "Graham Cox" <email@hidden>
To: "Tom Jones" <email@hidden>
Cc: email@hidden
Sent: Wednesday, June 24, 2009 7:38:54 PM GMT -08:00 US/Canada Pacific
Subject: Re: Watch for a file


On 25/06/2009, at 12:26 PM, Tom Jones wrote:

> k. Is it possible to use NSNotification to watch for a specific file
> on the file system?


No.

There are other ways however - search the documentation for "folder
watching" and "kqueue". Uli Kusterer has a small easy-to-use class for
this - UKKQueue.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Watch for a file
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: GC pros and cons
  • Previous by thread: Re: Watch for a file
  • Next by thread: Re: Watch for a file
  • Index(es):
    • Date
    • Thread