Re: NSMatrix bindings

2011-03-24 Thread Ken Thomases
On Mar 24, 2011, at 2:51 AM, Christian Ziegler wrote: > so I tried it the way Ken described it. However if I start the app, the > Matrix is empty. I created the Matrix and all Cells with their titles in IB, > assuming that these objects will be created after the nib was loaded. The > arrayContr

Re: NSMatrix bindings

2011-03-24 Thread Christian Ziegler
On Mar 18, 2011, at 10:14 PM, Ken Thomases wrote: > On Mar 18, 2011, at 3:45 AM, Christian Ziegler wrote: > >> I'm having hard times figuring out how to bind an NSMatrix properly. I got >> an NSMatrix with NSButtonCells (checkboxes) and I want to somehow bind to my >> model which of these chec

Re: NSMatrix bindings

2011-03-19 Thread Christian Ziegler
On Mar 18, 2011, at 10:14 PM, Ken Thomases wrote: > On Mar 18, 2011, at 3:45 AM, Christian Ziegler wrote: > >> I'm having hard times figuring out how to bind an NSMatrix properly. I got >> an NSMatrix with NSButtonCells (checkboxes) and I want to somehow bind to my >> model which of these chec

Re: NSMatrix bindings

2011-03-18 Thread Ken Thomases
On Mar 18, 2011, at 3:45 AM, Christian Ziegler wrote: > I'm having hard times figuring out how to bind an NSMatrix properly. I got an > NSMatrix with NSButtonCells (checkboxes) and I want to somehow bind to my > model which of these checkboxes are selected. What should work is binding the > con

NSMatrix bindings

2011-03-18 Thread Christian Ziegler
oller and fill the arrayController's content with NSButtonCells programmatically. By assigning tags I can then determine which checkboxes are selected. Unfortunately I have to add the checkbox cells programmatically this way and can not use the IB. I don't fully understand the NSMatr