Skip to content

Instantly share code, notes, and snippets.

@stephenvisser
Last active May 11, 2016 19:32
Show Gist options
  • Save stephenvisser/2d1b26e9914e464fe72604e8c9be80fd to your computer and use it in GitHub Desktop.
Save stephenvisser/2d1b26e9914e464fe72604e8c9be80fd to your computer and use it in GitHub Desktop.
protocol PresentableType {
associatedtype Input
associatedtype Output
mutating func setUp(input: Input)
var sideEffects: Output { get }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment