A Preferences controller class for Macruby. Based off of DBPrefsWindowController
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README.md
rpreferences.rb

README.md

Details

A preferences controller for Macruby based off of DBPrefsWindowController by Dave Batton

Installation

Git clone into lib and require 'lib/rpreferences/rpreferences'. Sorry, no macgem at the moment; I'll do that eventually.

Usage

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

Examples

Support

If you found this repo useful please consider supporting me on Gittip or sending me some bitcoin 1csGsaDCFLRPPqugYjX93PEzaStuqXVMu