Created
October 23, 2017 05:01
-
-
Save azamsharp/af874d67f579faba6be3ad08e1d5f1b8 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
@IBOutlet weak var titleTextField :BindingTextField! { | |
didSet { | |
titleTextField.bind { self.viewModel.title.value = $0 } | |
} | |
} | |
@IBOutlet weak var descriptionTextField :BindingTextField! { | |
didSet { | |
descriptionTextField.bind { self.viewModel.description.value = $0 } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment