Created
January 26, 2016 18:37
-
-
Save FranDepascuali/932ce3289abff4393282 to your computer and use it in GitHub Desktop.
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
public protocol ViewModelBindable: class { | |
typealias ViewModel | |
var viewModel: ViewModel? { get set } | |
func bindViewModel(viewModel: ViewModel) | |
func unbindViewModel(viewModel: ViewModel) | |
func shouldBindViewModel() -> Bool | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment