[MacRuby-devel] MacRuby PrefPane

Michael Jackson mjijackson at gmail.com
Thu Jun 10 17:22:56 PDT 2010


Hi all,

I've been trying to set up a preference pane in MacRuby this
afternoon, but I'm not sure the right way to go about it. In Cocoa
it's easy because there's a "preference pane bundle" project type in
the new project dialog box in Xcode. So what I did was I created a new
preference pane project in Cocoa and a new MacRuby app and then tried
to make the MacRuby app look as much like the Cocoa prefpane as I
could (by editing the Info.plist file, adding the
PreferencePanes.framework to the project, etc.)

The one problem I have at this point (there are probably more than
one, but...) is that I don't have a prefpane bundle under my targets.
I just have the App, Unit Tests, Compile, and Embed targets. I don't
know what to do at this point. I have a feeling that there should be
an easier way to do all of this, but I don't know how.

Any suggestions would be greatly appreciated. Perhaps someone has a
MacRuby prefpane bundle they're willing to share?

Thanks,

Michael

--
Michael Jackson
http://mjijackson.com
@mjijackson


More information about the MacRuby-devel mailing list