Re: [MacRuby-devel] Create new Core Data Instances

2011-11-14 Thread Timo Springmann
Hi, Am 14.11.2011 um 09:47 schrieb Sven A. Schmidt: >> a) Is it really THAT complicated to create an instance of MyEntity and set >> the attribute? I'm coming from the Rails/ActiveRecord world where this could >> easily be done with a single line of code (including saving the instantiated >> ob

Re: [MacRuby-devel] Create new Core Data Instances

2011-11-13 Thread Timo Springmann
can I save this fresh instance and update my NSTableView? Regards, Timo Am 13.11.2011 um 22:20 schrieb Timo Springmann: > Hi List, > > I've successfully created a core data entity with some attributes. I'm > displaying object in a NSTableView and I was able to add new ins

[MacRuby-devel] Create new Core Data Instances

2011-11-13 Thread Timo Springmann
Hi List, I've successfully created a core data entity with some attributes. I'm displaying object in a NSTableView and I was able to add new instances by calling the entities array controller add: action. The last hour I tried to figure out how to add/create a core data entity in ruby code wit

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 p

[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