• 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:21:42 -0500

On Nov 17, 2005, at 13:14, Brian Christensen wrote:

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

OK, well, never mind me, I should learn to read the subject of a thread before replying...


/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

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

  • Prev by Date: Re: UKKQueue
  • Next by Date: text caret color
  • Previous by thread: Re: UKKQueue
  • Next by thread: Re: UKKQueue
  • Index(es):
    • Date
    • Thread