Hi Paul,

I think when I first did it I just copied what an objective C document based application did.

The thing that was not so obvious to me at the time was putting the appropriate text in the Info.plist file.

I have a few document based application examples translated from Hillegas at johnmacshea.org (it points to an idisk currently while I play with SL server) - go to MacRuby/Hillegass and have a look at the "CH27 Printing" example (press the download arrow to download the zip).

Hope that helps,
Cheers,
John



On Jun 17, 2009, at 8:59 , Paul Howson wrote:

Hi,

When using Objective-C, XCode provides you with a template for a "Cocoa Document-based Application".

For MacRuby we so far have in XCode only "MacRuby Application" and "MacRuby Core Data Application".

Would it work to take a new MacRuby Application and copy across the relevant bits from a new Cocoa Document-based Application in order to make a MacRuby Document-based Application?

Is it that simple, or are there other gotchas I need to know about?

Paul Howson
Queensland Australia
_______________________________________________
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

Reply via email to