Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protocol RegistrationFormViewControllerDelegate: class {
- func saveDataButtonTapped()
- }
- class RegistrationFormRootViewController: ViewControllerWithLeftDrawer {
- @IBOutlet fileprivate weak var segment: UISegmentedControl!
- @IBOutlet fileprivate weak var registrationProgressView: RegistrationProgressView!
- var output: RegistrationFormRootViewControllerOutput!
- var router: RegistrationFormRootRouter!
- fileprivate var pageViewController: UIPageViewController!
- fileprivate var currentPageIndex = 0
- fileprivate var viewControllers = [RegistrationFormContentViewController]()
- weak var myAccountDelegate: RegistrationFormViewControllerDelegate?
- @IBAction func saveButtonTapped(_ sender: UIBarButtonItem) {
- myAccountDelegate?.saveDataButtonTapped()
- print("b")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement