-
-
Save ahmed-abdurrahman/6a9d32649fdef1f814fff65a6934f406 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
override func viewDidLoad() { | |
super.viewDidLoad() | |
segmentedControl.initUI() | |
segmentedControl.selectedSegmentIndex = TabIndex.firstChildTab.rawValue | |
displayCurrentTab(TabIndex.firstChildTab.rawValue) | |
} | |
override func viewWillDisappear(_ animated: Bool) { | |
super.viewWillDisappear(animated) | |
if let currentViewController = currentViewController { | |
currentViewController.viewWillDisappear(animated) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment