-
-
Save jarsen/241de4df94dd4f110583b54f33294834 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
| func update(with state: State) { | |
| guard let user = state.user else { return } | |
| firstNameLabel.text = user.firstName | |
| lastNameLabel.text = user.lastName | |
| ageLabel.text = String(user.age) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment