Skip to content

Instantly share code, notes, and snippets.

@vialyx
Created October 11, 2018 03:08
Show Gist options
  • Save vialyx/f5ec0a165d9177486cf650f373e86c4e to your computer and use it in GitHub Desktop.
Save vialyx/f5ec0a165d9177486cf650f373e86c4e to your computer and use it in GitHub Desktop.
// class Setting
init(name: String, action: Action, state: State = .on) {
self.name = name
self.action = action
self.state = state
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment