Re: [MacRuby-devel] Some general MacRuby/Cocoa questions

2011-11-13 Thread Henry Maddocks
On 12/11/2011, at 9:21 PM, Timo Springmann wrote: > > I think one controller per window is fine. What I don't like about the code > is the windowNibName method. Do I really have to do it this way? Or is there > a better way to 'connect' my in IB designed window to my ruby contoller class? I'm

Re: [MacRuby-devel] Some general MacRuby/Cocoa questions

2011-11-12 Thread Timo Springmann
Good morning, Am 11.11.2011 um 23:36 schrieb Henry Maddocks: > On 12/11/2011, at 10:07 AM, Timo Springmann wrote: >> class AnotherController < NSWindowController >> def windowNibName() >>return "Another" >> end >> end > > From a code point of view what you have done here is correct, one co

Re: [MacRuby-devel] Some general MacRuby/Cocoa questions

2011-11-11 Thread Henry Maddocks
On 12/11/2011, at 10:07 AM, Timo Springmann wrote: > At the moment my application mostly consists of a NSTableView bound to a > CoreData Entity. Works like expected. In a next step I would like to extend > my application to open another window to enter the details for adding > content. I've