• 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: UKKQueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UKKQueue


  • Subject: Re: UKKQueue
  • From: Brian Christensen <email@hidden>
  • Date: Thu, 17 Nov 2005 13:14:19 -0500

On Nov 17, 2005, at 12:03, Scott Stevenson wrote:

Also, can anyone point me to a newbie tutorial about NSWorkspace for detecting file system change notifications?

NSWorkspace can only tell you about file system changes that *your* app generated. There are a list of NSNotifications you can subscribe to in the class reference for NSWorkspace. If you google for "NSWorkspace" the class reference is the first result.

If you are interested in getting notifications for all file system changes you might want to look into the kqueue API. It is a low-level BSD notification facility that shipped with 10.3. It will let you subscribe to file system change events. Run a "man kqueue" for a more detailed description. There is also a nice paper about it here: http://people.freebsd.org/~jlemon/papers/kqueue.pdf


/brian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: UKKQueue
      • From: Brian Christensen <email@hidden>
References: 
 >UKKQueue (From: Jofell Gallardo <email@hidden>)
 >Re: UKKQueue (From: Scott Stevenson <email@hidden>)

  • Prev by Date: Re: Capturing the stylus (ink input) in cocoa
  • Next by Date: Re: UKKQueue
  • Previous by thread: Re: UKKQueue
  • Next by thread: Re: UKKQueue
  • Index(es):
    • Date
    • Thread