Skip to content

Instantly share code, notes, and snippets.

@MartinMoizard
Created August 22, 2017 14:29
Show Gist options
  • Save MartinMoizard/94c991093c465d492dcc2c99c4c97f8e to your computer and use it in GitHub Desktop.
Save MartinMoizard/94c991093c465d492dcc2c99c4c97f8e to your computer and use it in GitHub Desktop.
protocol ViewModelType {
associatedtype Input
associatedtype Output
func transform(input: Input) -> Output
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment