Last active
March 24, 2020 07:29
-
-
Save Kharauzov/36755dbce5711a9a69e572ff066f66fb 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
| private func setChildViewControllers() { | |
| let topViewController = ProfileShortInfoViewController() | |
| view.backgroundColor = topViewController.view.backgroundColor | |
| let card1ViewController = ProfileActivityViewController() | |
| let card2ViewController = RecommendationsViewController() | |
| setTopChildViewController(topViewController) | |
| setCard1ChildViewController(card1ViewController) | |
| setCard2ChildViewController(card2ViewController) | |
| self.topViewController = topViewController | |
| self.activityViewController = card1ViewController | |
| self.recommendationsViewController = card2ViewController | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment