HackPlan / MASPreferences

Modern implementation of the Preferences window for OS X apps, used in TextMate, GitBox and Mou:

Home Page:http://blog.shpakovski.com/2011/04/preferences-windows-in-cocoa.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MASPreferences

This component is intended as a replacement for SS_PrefsController by Matt Legend Gemmell and Selectable Toolbar by Brandon Walkin. It is designed to use NSViewController subclasses for preference panes.

How to use

You can find a Demo project at MASPreferencesDemo.

##Swift Edge case When using Swift you need to override the identifier from MASPreferencesViewController the following to be compatible with the mutable identifier String? in NSViewController

override var identifier: String? { get {return "general"} set { super.identifier = newValue} }

Install

Carthage

  • Add github "shpakovski/MASPreferences" to your Cartfile.

CocoaPods

  • Add pod 'MASPreferences' to your Podfile.

About

Modern implementation of the Preferences window for OS X apps, used in TextMate, GitBox and Mou:

http://blog.shpakovski.com/2011/04/preferences-windows-in-cocoa.html

License:Other


Languages

Language:Objective-C 95.7%Language:Ruby 4.3%