From a3f7f7393e090c43256be8b0687d3958b98fe548 Mon Sep 17 00:00:00 2001 From: Ketan Chopda Date: Tue, 4 Feb 2020 13:57:00 +0530 Subject: [PATCH] - podspec version update --- SSCustomTabBar/Classes/SwiftUITabbar.swift | 6 ------ SSCustomTabbar.podspec | 2 +- SwiftUI Example/Podfile.lock | 4 ++-- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/SSCustomTabBar/Classes/SwiftUITabbar.swift b/SSCustomTabBar/Classes/SwiftUITabbar.swift index d8de524..387c3de 100644 --- a/SSCustomTabBar/Classes/SwiftUITabbar.swift +++ b/SSCustomTabBar/Classes/SwiftUITabbar.swift @@ -18,7 +18,6 @@ public class SSTabConfiguration { /// Up Animation point public var upAnimationPoint: CGFloat? - /// Layer fill color public var layerFillColor: UIColor @@ -54,7 +53,6 @@ public class SSTabConfiguration { public init(barHeight: CGFloat? = nil, upAnimationPoint: CGFloat? = nil, layerFillColor: UIColor = .white, waveHeight: CGFloat = 17, selectedTabTintColor: UIColor = UIColor.orange, unselectedTabTintColor: UIColor = .black, shadowColor: UIColor = .black, shadowRadius: CGFloat = .zero, shadowOffset: CGSize = CGSize(width: 0, height: -1)) { self.barHeight = barHeight self.upAnimationPoint = upAnimationPoint - self.layerFillColor = layerFillColor self.waveHeight = waveHeight self.selectedTabTintColor = selectedTabTintColor @@ -110,7 +108,6 @@ public struct SwiftUITabBarController: UIViewControllerRepresentable { /// Should hide tab bar @Binding private var isTabBarHidden: Bool - // MARK: - Private declration private let tabBarVC: SSCustomTabBarViewController private let tabBar: SSCustomTabBar @@ -154,14 +151,12 @@ public struct SwiftUITabBarController: UIViewControllerRepresentable { } public func updateUIViewController(_ tabBarConroller: UITabBarController, context: Context) { - if let barHeight = configuration.barHeight { tabBarVC.barHeight = barHeight } if let upAnimationPoint = configuration.upAnimationPoint { tabBarVC.upAnimationPoint = upAnimationPoint } - tabBar.layerFillColor = configuration.layerFillColor tabBar.waveHeight = configuration.waveHeight tabBar.unselectedTabTintColor = configuration.unselectedTabTintColor @@ -169,7 +164,6 @@ public struct SwiftUITabBarController: UIViewControllerRepresentable { tabBar.shadowRadius = configuration.shadowRadius tabBar.shadowOffset = configuration.shadowOffset tabBar.tintColor = configuration.selectedTabTintColor - tabBar.isHidden = isTabBarHidden } diff --git a/SSCustomTabbar.podspec b/SSCustomTabbar.podspec index 6c99a39..dd7a80f 100644 --- a/SSCustomTabbar.podspec +++ b/SSCustomTabbar.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'SSCustomTabbar' - s.version = '2.0.5' + s.version = '2.0.6' s.platform = :ios s.swift_version = '5.0' s.summary = 'Simple Animated tabbar with native control.' diff --git a/SwiftUI Example/Podfile.lock b/SwiftUI Example/Podfile.lock index fb40358..5149d40 100644 --- a/SwiftUI Example/Podfile.lock +++ b/SwiftUI Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - SSCustomTabbar (2.0.2) + - SSCustomTabbar (2.0.6) DEPENDENCIES: - SSCustomTabbar (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - SSCustomTabbar: 26241ace449f6d3e9dca43ad37e71da23f1aa03e + SSCustomTabbar: a52533e429bd40f52ce8d7ecb801f3521fbd56a0 PODFILE CHECKSUM: c2ba52075d251c51d90601a7a42b231baf400bcc