Last active
September 20, 2018 17:24
-
-
Save Sajjon/161e1d970996fec5bd1ddce276b4d230 to your computer and use it in GitHub Desktop.
ViewModelType.swift - credits to: Sergey Shulga @sergdort
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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