Last active
January 19, 2018 09:38
-
-
Save Otbivnoe/f7d459dfdeb67bd899567fa90001cc1c 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
extension UIViewController { | |
func openProfile(for user: User) { | |
let profileViewController = ProfileViewController(user: user) | |
present(profileViewController, animated: true, completion: nil) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment