Created
May 28, 2020 21:34
-
-
Save rlnucci/7fbf4d82c0b30cb52ac9bacd47b87fbb 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
| protocol ExamplePresenter { | |
| func fetchData() | |
| } | |
| // Delegate that notifies the ViewController, so ViewController will conform to this protocol | |
| protocol PresenterDelegate: AnyObject { | |
| func didFetch(data: String) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment