• 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: weird user-default problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird user-default problem


  • Subject: Re: weird user-default problem
  • From: Malte Tancred <email@hidden>
  • Date: Thu, 31 Jan 2002 18:29:18 +0100

Ondra Cada:
Defaults database can contain just plists, IIRC, and NSColor is definitely
not a plist. Encode it into a string or data (the latter can be done
transparently for almost any object via NSArchiver).

Please don't fill the defaults database with binary data
if it can be avoided. It makes it soo much harder to use
the database from the command line. It also makes it feel
more like the windows registry. :-)

Encode it into a string!

Cheerio,
Malte

--
Malte Tancred
Computer programmer, Oops AB, Sweden
mailto:email@hidden
http://www.oops.se/


  • Follow-Ups:
    • Re: weird user-default problem
      • From: Ondra Cada <email@hidden>
References: 
 >Re: weird user-default problem (From: Ondra Cada <email@hidden>)

  • Prev by Date: NSDocument: revertDocumentToSaved problem
  • Next by Date: Setting NSPopUpMenu title adds it to end
  • Previous by thread: Re: weird user-default problem
  • Next by thread: Re: weird user-default problem
  • Index(es):
    • Date
    • Thread