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

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.

  • Follow-Ups:
    • Re: File modification
      • From: Hamish Allan <email@hidden>
References: 
 >File modification (From: Hamish Allan <email@hidden>)

  • Prev by Date: Re: NSBezierPath winding rules and glyphs
  • Next by Date: Re: Populating an NSPopUpButton from an array
  • Previous by thread: Re: File modification
  • Next by thread: Re: File modification
  • Index(es):
    • Date
    • Thread