[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSUserDefaults
From: |
rpb |
Subject: |
Re: NSUserDefaults |
Date: |
Fri, 29 Sep 2000 00:38:43 EDT |
Thanks
Rob
On Thu, 28 Sep 2000, richard@brainstorm.co.uk wrote:
> Date: Thu, 28 Sep 2000 20:22:39 +0100
> To: rpb@uswest.net
> From: richard@brainstorm.co.uk
> Subject: Re: NSUserDefaults
>
> On Fri, 29 Sep 2000 00:02:17 EDT, rpb@uswest.net 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.
>
>
>