Sorry, forgot to add that you will need to uncomment the "applicationDidFinishLaunching" method in AppDelegate. Otherwise the project runs just fine. Regards, Rien. On Jul 8, 2009, at 10:59, Laurent Sansonetti wrote:
Hi Marinus,
Are you by any chance trying to run a RubyCocoa project (of parts of it) with MacRuby? Both projects use a different syntax and are therefore incompatible.
You should be able to use initWithWindowNibName in both RubyCocoa and MacRuby projects.
In case it does not work for you, please send us a code snippet or a simple xcode project that reproduces the problem for you and we will have a look at it.
Laurent
On Jul 8, 2009, at 1:35 PM, Marinus van der Lugt wrote:
I am getting rather desperate here :-(
The initWithWindowNibName suddenly stopped working. It still works in a previous xcode project that I had, but I cannot create new MacRuby projects that use this method.
Is there something scr*d-up on my machine?
I am still on the checkbox problem and created an Obj-C xcode project that shows the correct working of the "state" operation. Then I created an exact copy (translation) in an xcode MacRuby project and now the initWithWindowNibName suddenly does not work anymore.
I checked and double checked and triple checked all the usual caveats. Nothing.
Has anybody here ever had something like this before? (and what was the solution?)
Regards, Rien. _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel