• 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: Changing Desktop picture from Cocoa app in 10.1 without re-starting Finder [Success!]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing Desktop picture from Cocoa app in 10.1 without re-starting Finder [Success!]


  • Subject: Re: Changing Desktop picture from Cocoa app in 10.1 without re-starting Finder [Success!]
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 26 Oct 2001 11:09:27 -0700

On Friday, October 26, 2001, at 10:24 AM, Mark Orchard wrote:

Anyway, I'm very happy at the moment although I know this is going to break
in some future OS revision. Writing directly to plists is too low-level.
I'll only feel comfortable about non-breakage of my app. if Apple supply a
higher level API for writing User property lists in some AppKit somewhere.

I wonder what Apple's official position is on application's writing directly
to property lists?
I'd assume that it would be totally unsupported but I also get the
impression that a lot of developers are doing it!

Do not write directly to preference plists. The API for modifying preferences is CFPreferences, or at the Foundation level, NSUserDefaults. Having your app modify the preferences for someone else's app is also bad form--unless those preferences have been documented--but not nearly as bad as modifying the plists directly.

Douglas Davidson


References: 
 >RE: Changing Desktop picture from Cocoa app in 10.1 without re-starting Finder [Success!] (From: "Mark Orchard" <email@hidden>)

  • Prev by Date: Re: Sheets in Cocoa
  • Next by Date: Re: Designing inspector palettes
  • Previous by thread: RE: Changing Desktop picture from Cocoa app in 10.1 without re-starting Finder [Success!]
  • Next by thread: Re: Changing Desktop picture from Cocoa app in 10.1 without re-starting Finder [Success!]
  • Index(es):
    • Date
    • Thread