• 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: Hamish Allan <email@hidden>
  • Date: Wed, 26 Mar 2003 09:38:19 +0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Tuesday, Mar 25, 2003, at 23:28 Europe/London, email@hidden wrote:

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)

The preferences are communicated in both directions. The daemon, when started, determines the settings that the user can choose between; the user chooses between them in the preference pane. Both sets of preferences should be persisted (the system preferences app will not always be running for the daemon to query, and the preference pane allows the daemon to be started and stopped but should still allow the user to choose the settings when stopped).

So I'm figuring that there'll have to be two files anyway, and any interprocess communication will be tantamount to "go and re-read your file", which is superfluous if I can receive notification of file modification. But if there's something obviously wrong with my approach I'd like to take advice.

cheers,
Hamish

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)

iD8DBQE+gXUS6gc2d//pELYRAqYuAKCUWpDSvJvuo1FmPYZxzQZ0POEA2gCeNgwq
4yhduH4dRyNvkUnLtxLy0+g=
=1mCI
-----END PGP SIGNATURE-----
_______________________________________________
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: Stéphane Sudre <email@hidden>
    • Re: File modification
      • From: David Remahl <email@hidden>
References: 
 >Re: File modification (From: email@hidden)

  • Prev by Date: Re: To someone at Apple
  • Next by Date: Re: File modification
  • Previous by thread: Re: File modification
  • Next by thread: Re: File modification
  • Index(es):
    • Date
    • Thread