NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Louis Demers
Hi, I've programmed for a while in Cocoa, with bindings... But for the first time I need a NSTableView and I would like to use NSArrayController with bindings to do as much work as possible and with the minimum amount of code. But I've had nothing but failure, even after inspecting many

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Sean McBride
On 7/17/08 11:52 AM, Louis Demers said: I've programmed for a while in Cocoa, with bindings... But for the first time I need a NSTableView and I would like to use NSArrayController with bindings to do as much work as possible and with the minimum amount of code. But I've had nothing but

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Louis Demers
On 17-Jul-08, at 12:31 , mmalc crawford wrote: On Jul 17, 2008, at 8:52 AM, Louis Demers wrote: A button bound to the add or the insert method of the NSArrayController just does nothing. Do you mean bound or connected using target action? control dragged from my button to the

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Louis Demers
On 17-Jul-08, at 12:10 , Sean McBride wrote: On 7/17/08 11:52 AM, Louis Demers said: I've programmed for a while in Cocoa, with bindings... But for the first time I need a NSTableView and I would like to use NSArrayController with bindings to do as much work as possible and with the

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread mmalc crawford
On Jul 17, 2008, at 8:52 AM, Louis Demers wrote: A button bound to the add or the insert method of the NSArrayController just does nothing. Do you mean bound or connected using target action? class toto Please follow Cocoa naming conventions -- class names begin with capital letters.

Re: NSArraycontroller, Bindings nad NSTableview

2008-07-17 Thread Louis Demers
Well, as a reply to my own message . I seem to have gotten it to work very nicely ! I recreated a fresh project and let my NSArrayController instance create and manage the storage for me. In addition to possible misconfiguration, It seems I was caught by the fact that NSArrayController