FROM : Brent Gulanowski
DATE : Fri Oct 15 17:28:23 2004
On Fri, 15 Oct 2004 10:47:11 +0200, Benoit HERVIER
<<email_removed>> wrote:
> Binding : NSTableView -> NSControllerArray -> NSUserDefaultController
>
> Hi
>
> I'm new to binding ... and i find this very powerfull ...
>
> But i ve a little probleme ...
>
> I ve a NSTableView bind to NSControllerArray bind to
> NSUserDefaultController
>
> But NSUserDefaultController give a NSDictionary and not a
> NSMutableDictionary ...
>
> So how to do this ? thanks
>
> Sorry for my english ...
>
> --
> Benoît HERVIER (Alias Khertan)
Where does the dictionary come from originally? You must make it
mutable at that point. The defaults controller only gives you what it
received in its "values" dictionary attribute.
A common source is the registration dictionary you create and provide
to NSUserDefaults using the -registerDefaults: method.
--
Brent Gulanowski
http://www.boredastronaut.com
DATE : Fri Oct 15 17:28:23 2004
On Fri, 15 Oct 2004 10:47:11 +0200, Benoit HERVIER
<<email_removed>> wrote:
> Binding : NSTableView -> NSControllerArray -> NSUserDefaultController
>
> Hi
>
> I'm new to binding ... and i find this very powerfull ...
>
> But i ve a little probleme ...
>
> I ve a NSTableView bind to NSControllerArray bind to
> NSUserDefaultController
>
> But NSUserDefaultController give a NSDictionary and not a
> NSMutableDictionary ...
>
> So how to do this ? thanks
>
> Sorry for my english ...
>
> --
> Benoît HERVIER (Alias Khertan)
Where does the dictionary come from originally? You must make it
mutable at that point. The defaults controller only gives you what it
received in its "values" dictionary attribute.
A common source is the registration dictionary you create and provide
to NSUserDefaults using the -registerDefaults: method.
--
Brent Gulanowski
http://www.boredastronaut.com
| Related mails | Author | Date |
|---|---|---|
| Benoit HERVIER | Oct 15, 10:47 | |
| Brent Gulanowski | Oct 15, 17:28 |






Cocoa mail archive

