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

[MacRuby-devel] Some general MacRuby/Cocoa questions

2011-11-11 Thread Timo Springmann
Hi List, I'm new to the list and currently I'm struggling with MacRuby (or better: Cocoa). I've done some Ruby development (mostly Rails) in the past and think my knowledge about ruby is okay. But I've no idea about Cocoa and all I know about C are a few fragments C++ back from university... C

Re: [MacRuby-devel] BridgeSupport (objC header file) simple parser

2011-11-11 Thread Matt Aimonetti
My guess is that JS automatically converts the object in its string representation while in Ruby, you get the real object and you have to call a method on it. I agree that this isn't great and I'm not a BridgeSupport/ScriptingBridge expert so I can't tell you if that's something wrong on SB side or

Re: [MacRuby-devel] BridgeSupport (objC header file) simple parser

2011-11-11 Thread Spencer Rose
Thanks for doing this Matt. I have not fallen off the earth on this one. :) Trying to do a lot of research and figure this thing out. InDesign's scripting API is complicated enough, but the way ScriptingBridge works with it is making me work hard. Annoying that running these two commands in t