A preferences controller for Macruby based off of DBPrefsWindowController by Dave Batton
Git clone into lib and require 'lib/rpreferences/rpreferences'. Sorry, no macgem at the moment; I'll do that eventually.
Create your views in a Preferences.nib and then extend RPreferencesWindowController and implement the setupToolBar method
class PreferencesWinController < RPreferencesWindowController
attr_accessor :view1, view2
def setupToolbar()
self.addView(@view1, label:"General")
self.addView(@view2, label:"Bob")
end
end- Demo Preferences App: https://github.com/bookworm/rpreferences_demo_app
If you found this repo useful please consider supporting me on Gittip or sending me some
bitcoin 1csGsaDCFLRPPqugYjX93PEzaStuqXVMu