Created
May 30, 2018 04:43
-
-
Save laevandus/84082759adf2258937e188ec64756801 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
@IBAction func goToList(_ sender: Any) { | |
scenePresenter?.presentPlanetList() | |
} | |
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | |
scenePresenter?.presentDetailedInfo(for: planets[indexPath.row]) | |
} | |
@IBAction func show(_ sender: Any) { | |
scenePresenter?.presentURL(planet.url) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment