Re: File modification
Re: File modification
- Subject: Re: File modification
- From: email@hidden
- Date: Wed, 26 Mar 2003 00:28:45 +0100
On mardi, mars 25, 2003, at 10:16 PM, Hamish Allan wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Is there a straightforward way of receiving notification when a file
is changed? ("This file has been altered since it was opened;
reload?") I had a look at NSFileManager and NSFileHandle and didn't
spot anything obvious. And
NSWorkspaceDidPerformFileOperationNotification seems not to work other
than for files modified by NSWorkspace.
Actually I want to use it not for document files, but for
communicating preferences between a system prefs pane and a daemon.
Argh!
Why not using an Interprocess communication solution? (BTW it's great
to see that there's a dedicated session to IPC during next WWDC)
Solutions include:
- Sockets
- CFMessagePort/Notification
_______________________________________________
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.