Created
January 29, 2017 19:39
-
-
Save ethanjdiamond/6a2453b84f8f5718be5a6ebcef52e6af 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
protocol Presentable: class { | |
var viewController: UIViewController { get } | |
} | |
protocol Presenter: Presentable { | |
} | |
extension UIViewController: Presenter { | |
var viewController: UIViewController { return self } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment