[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserDefaults

From: richard
Subject: Re: NSUserDefaults
Date: Thu, 28 Sep 2000 20:22:39 +0100

On Fri, 29 Sep 2000 00:02:17 EDT, address@hidden wrote:
> Thanks for the reply. I realize now, I was expecting the wrong behavior.
> The bit about not writing anything to a permanent domain was right.  I've
> now got it figured to actually set defaults later in the code and it works.
> But I've not figured out how to store a default color. placing a NSColor
> directly in a defaults object seems to ruin .GNUstepDefaults.  Is there a
> way to do this other than getting the RGB components and storing them as
> strings?

Use NSColors -description method ...

[defaults setObject: [color description] forKey: @"controlBackgroundColor"];

> PS I've got about 5 or 6 copies of most messaages on
> GNUstep-Apps,Bug,Discuss, and help. Is everyone else having this problem?

I think its a problem with the mailserver software - it's happeneing with
other GNU mailing lists too.  People are working on it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]