Commit 25c1fde5 authored by Jose Blaya's avatar Jose Blaya
Browse files

WIP

parent 05e84977
......@@ -48,7 +48,7 @@ Pod::Spec.new do |s|
p.dependency "PIALibrary/Library"
p.dependency "SwiftyBeaver"
p.ios.source_files = "PIALibrary/Sources/UI/iOS/*.swift"
p.ios.source_files = "PIALibrary/Sources/UI/iOS/**/*.swift"
p.ios.resources = "PIALibrary/Resources/UI/iOS/**/*"
p.ios.dependency "TPKeyboardAvoiding"
......
......@@ -647,6 +647,9 @@ private struct DefaultThemeStrategy: ThemeStrategy {
if let _ = viewController as? PIAWelcomeViewController {
return .default
}
if let _ = viewController as? GetStartedViewController {
return .default
}
return .lightContent
}
......
......@@ -8,7 +8,7 @@
import UIKit
class GetStartedViewController: AutolayoutViewController, ConfigurationAccess {
public class GetStartedViewController: AutolayoutViewController, ConfigurationAccess {
@IBOutlet private weak var viewHeaderBackground: UIView!
@IBOutlet private weak var viewHeader: UIView!
......@@ -22,7 +22,7 @@ class GetStartedViewController: AutolayoutViewController, ConfigurationAccess {
NotificationCenter.default.removeObserver(self)
}
override func viewDidLoad() {
override public func viewDidLoad() {
super.viewDidLoad()
imvLogo.image = Theme.current.palette.logo
......@@ -32,6 +32,15 @@ class GetStartedViewController: AutolayoutViewController, ConfigurationAccess {
labelVersion.text = Macros.localizedVersionFullString()
}
/**
Creates a wrapped `GetStartedViewController` ready for presentation.
*/
public static func with() -> UIViewController {
let nav = StoryboardScene.Welcome.initialScene.instantiate()
return nav
}
/// :nodoc:
public override func viewWillAppear(_ animated: Bool) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment