Created
September 30, 2017 03:32
-
-
Save zenghaojim33/a6990148ec50f615a9ded22d3d3ed554 to your computer and use it in GitHub Desktop.
This file contains 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
lazy var editAction : Action<TaskItem,Void> = { this in | |
return Action { task in | |
let editViewModel = EditTaskViewModel(task: task, coordinator: this.sceneCoordinator, updateAction: this.onUpdateTitle(task: task)) | |
return this.sceneCoordinator.transition(to: | |
Scene.editTask(editViewModel), type: .modal) | |
} | |
}(self) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment