Re: File System Notifications
Re: File System Notifications
- Subject: Re: File System Notifications
- From: "Stephen J. Butler" <email@hidden>
- Date: Tue, 17 Jun 2008 21:14:24 -0500
On Tue, Jun 17, 2008 at 9:04 PM, Omar Qazi <email@hidden> wrote:
> I'm a little confused about file system notifications in Cocoa. In
> NSWorkspace, it says that the method for subscribing to file system
> notifications will always return NO, which seems useless to me. I know
> Carbon has the FNSubscribe() and FNUnsubscribe() functions, but can I use
> those to get a notification when another application opens a file? If not is
> there any way I can achieve this?
There isn't a Foundation/AppKit way to do it, but a couple people have
written wrappers for the Carbon and BSD APIs. You'll find this info
useful:
<http://www.cocoadev.com/index.pl?FileSystemNotifications>
_______________________________________________
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