Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
- Subject: Re: Bug in NSArrayController? (immutable instead of mutable dictionaries)
- From: Uli Zappe <email@hidden>
- Date: Fri, 22 Oct 2004 00:24:45 +0200
Am 22.10.2004 um 00:00 schrieb Brent Gulanowski:
Well I just encountered a problem with NSUserDefaultsController where
an array controller was creating immutable instances, but it seemed to
have an unrelated cause. See other messages I posted today.
It would be interesting if these issues were in fact related.
This may well be the case, because in fact my NSArrayController *is*
bound to an NSUserDefaultsController. This is about the only detail of
my setup I omitted (unconsciously), simply because in my case
NSUserDefaultsController seems to be the only way that *does work* to
add mutable dictionaries to NSArrayController. I.e., if I manually edit
a preferences plist so that it already contains an array with
dictionaries, NSUserDefaultsController will put these to
NSArrayController at startup, and these are *mutable*. So
NSUserDefaultsController seemed to be a solution, not a problem. (And
yes, my NSUserDefaultsController *is* set to setSavesImmediately:YES
...)
But I will investigate further in this direction, and tell you what
I'll find.
Bye
Uli
________________________________________________________
Uli Zappe, Solmsstraße 5, D-65189 Wiesbaden, Germany
http://www.ritual.org
Fon: +49-700-ULIZAPPE
Fax: +49-700-ZAPPEFAX
________________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden