Programming in objective-c: How to connect NSTableView with bindings to array(controller) from a different controller? on newest questions tagged objective-c – Stack Overflow
I’ve been working on this problem for the last couple of days and coudn’t figure it out by myself. I worked through the Apple tutorials and did some research but haven’t found an answer yet:
I want to display a view based NSTableView on view “A” but I want to receive the data from another viewController which has the dataArray.
When I put the arrayController on view “A”, I can’t connect it to my dataArray. When I put it on view “B” from the other controller, I can’t connect the NSTableView to it.
Of course I could copy the entire array into the other viewController, work with it and save it back later. But this seems very odd to me.
Thanks for you time!
source: http://stackoverflow.com/questions/11228547/how-to-connect-nstableview-with-bindings-to-arraycontroller-from-a-different-c
Programming in objective-c: programming-in-objective-c
Recent Comments