From b26c2c56715cb55644c3db6b25b2e99dbb34cd3a Mon Sep 17 00:00:00 2001 From: Felix Mau Date: Sat, 8 Sep 2018 18:42:15 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20::=20Updated=20Example=20Applica?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AdvancedExampleViewController.swift | 24 +++++++++---------- .../Base.lproj/Main.storyboard | 10 ++++---- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Example/GradientLoadingBar/AdvancedExampleViewController.swift b/Example/GradientLoadingBar/AdvancedExampleViewController.swift index 2994116..f0d6bc5 100644 --- a/Example/GradientLoadingBar/AdvancedExampleViewController.swift +++ b/Example/GradientLoadingBar/AdvancedExampleViewController.swift @@ -13,12 +13,12 @@ class AdvancedExampleViewController: UIViewController { // MARK: - Outlets @IBOutlet var customSuperviewButton: BlueBorderedButton! - @IBOutlet var customGradientColorsButton: BlueBorderedButton! + @IBOutlet var customColorsButton: BlueBorderedButton! // MARK: - Private properties private var buttonGradientLoadingBar: GradientLoadingBar? - private var customGradientColorsGradientLoadingBar: GradientLoadingBar? + private var customColorsGradientLoadingBar: GradientLoadingBar? // MARK: - Public methods @@ -29,15 +29,15 @@ class AdvancedExampleViewController: UIViewController { onView: customSuperviewButton) // Source: https://color.adobe.com/Pink-Flamingo-color-theme-10343714/ - customGradientColorsGradientLoadingBar = BottomGradientLoadingBar(height: 3.0, - gradientColorList: [ - UIColor(hex: "#f2526e"), - UIColor(hex: "#f17a97"), - UIColor(hex: "#f3bcc8"), - UIColor(hex: "#6dddf2"), - UIColor(hex: "#c1f0f4") - ], - onView: customGradientColorsButton) + customColorsGradientLoadingBar = BottomGradientLoadingBar(height: 3.0, + gradientColorList: [ + UIColor(hex: "#f2526e"), + UIColor(hex: "#f17a97"), + UIColor(hex: "#f3bcc8"), + UIColor(hex: "#6dddf2"), + UIColor(hex: "#c1f0f4") + ], + onView: customColorsButton) } @IBAction func customSuperviewButtonTouchUpInside(_: Any) { @@ -45,7 +45,7 @@ class AdvancedExampleViewController: UIViewController { } @IBAction func customGradientColorsButtonTouchUpInside(_: Any) { - customGradientColorsGradientLoadingBar?.toggle() + customColorsGradientLoadingBar?.toggle() } } diff --git a/Example/GradientLoadingBar/Base.lproj/Main.storyboard b/Example/GradientLoadingBar/Base.lproj/Main.storyboard index 0503585..bbf9f36 100644 --- a/Example/GradientLoadingBar/Base.lproj/Main.storyboard +++ b/Example/GradientLoadingBar/Base.lproj/Main.storyboard @@ -283,11 +283,11 @@ - +