39 lines
1.1 KiB
Swift
39 lines
1.1 KiB
Swift
//
|
|
// WalletBoardingViewController.swift
|
|
// Malinka
|
|
//
|
|
// Created by Juraldinio on 8/14/22.
|
|
// Copyright © 2022 NUT.Tech. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import UIKit
|
|
|
|
final class WalletBoardingViewController: UINavigationController {
|
|
|
|
typealias Completion = () -> Void
|
|
|
|
// MARK: - Init
|
|
|
|
init(completion: Completion? = nil) {
|
|
let storyboard = UIStoryboard(name: "AccountOnboarding", bundle: nil)
|
|
let rootController = storyboard.instantiateViewController(withIdentifier: "AccountOnboardingControllerStartWay")
|
|
if let controller = rootController as? AccountOnboardingControllerStartWay {
|
|
controller.completion = completion
|
|
}
|
|
|
|
super.init(rootViewController: rootController)
|
|
|
|
self.isNavigationBarHidden = false
|
|
// Layout: Adjust Scroll View Insets - On
|
|
// Layout: Resize View From Nib - On
|
|
// Extend Edges: Under Top Bars - On
|
|
// Extend Edges: Under Bottom Bars - On
|
|
}
|
|
|
|
required init?(coder aDecoder: NSCoder) {
|
|
fatalError("init(coder:) has not been implemented")
|
|
}
|
|
|
|
}
|