Skip to content

Commit

Permalink
Merge pull request cocoabits#38 from philippb/patch-1
Browse files Browse the repository at this point in the history
Adding explanation for Swift usage
  • Loading branch information
Vadim Shpakovski committed Jul 24, 2015
2 parents df459a7 + afec6a6 commit 080abaf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -4,4 +4,9 @@ This component is intended as a replacement for SS_PrefsController by Matt Legen

# How to use

You can find a Demo project at [MASPreferencesDemo](https://github.com/shpakovski/MASPreferencesDemo).
You can find a Demo project at [MASPreferencesDemo](https://github.com/shpakovski/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} }

0 comments on commit 080abaf

Please sign in to comment.