Last active
July 26, 2019 19:27
-
-
Save aronbalog/2dcfaf96005306ef8011f70fa456d29c to your computer and use it in GitHub Desktop.
https://medium.com/@aronbalog/1-ios-reinventing-view-controller-navigation-c2745b60bb6c SignInViewController
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
import CoreNavigation | |
class PersonProfileViewController: UIViewController, DataReceivable { | |
// DataReceivable associatedtype | |
typealias DataType = Person | |
func didReceiveData(_ data: Person) { | |
// configure UI with data | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment