Re: View based outline view and custom NSTableCellViews

2012-09-07 Thread Uli Kusterer
Jean, I think your problem isn't the table, but that you're mixing up bindings and outlets. To connect an outlet, simply Control-Drag and hook it up. Use the little icons at the top of the inspector pane to switch to Connections Inspector, which shows the list of all outlets, actions,

Re: View based outline view and custom NSTableCellViews

2012-09-07 Thread Jean Suisse
Hi, Thank you for your reply. Yes, I have been thinking for a long time that I should take a really good look to bindings. I should invest some time in it. Thank you for your help. Cheers, Jean On 7 sept. 2012, at 11:00, Uli Kusterer wrote: Jean, I think your problem isn't the table,

View based outline view and custom NSTableCellViews

2012-09-06 Thread Jean Suisse
Hello, In the content view of the window of a freshly created NIB, I have a view-based outline view. The file owner is set to be MyWindowController. The outlineView is the standard, preconfigured setup, dragged from IB. Now, I would like to modify the default views provided in this standard

Re: View based outline view and custom NSTableCellViews

2012-09-06 Thread Seth Willits
On Sep 6, 2012, at 7:46 AM, Jean Suisse wrote: Instinctively, I would create a subclass of NSTableCellView (MyTableCellView), set the NSTableCellView to be MyTableCellView in IB and connect all the outlets to be able to do this at runtime : [MyTableCellView.MyExtraTextField setXXXValue:

Re: View based outline view and custom NSTableCellViews

2012-09-06 Thread Jean Suisse
To add a few more informations: If I manually write the outlet declaration in MyTableCellView.h (@property(weak) NSTextField* myTextField); and if I add the @synthesize method in the .m file, this time, IB is letting me do the connection. However, IB is presenting me with a window I am not