From 70e64ff64a20ad18a347f8fc75a6383a4db89f7b Mon Sep 17 00:00:00 2001 From: Hitendra Solanki Date: Tue, 17 Apr 2018 14:47:44 +0530 Subject: [PATCH] - Update access modifiers for older support - Pod 0.1.1 --- HSCenterSlider.podspec | 2 +- HSCenterSlider/Classes/HSCenterSlider.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HSCenterSlider.podspec b/HSCenterSlider.podspec index 9be2a77..45fab14 100644 --- a/HSCenterSlider.podspec +++ b/HSCenterSlider.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'HSCenterSlider' - s.version = '0.1.0' + s.version = '0.1.1' s.summary = 'Easy to use double side center slider, that can show value in (A,B) Range.' # This description is used to generate tags and improve search results. diff --git a/HSCenterSlider/Classes/HSCenterSlider.swift b/HSCenterSlider/Classes/HSCenterSlider.swift index 3bfe442..f246ada 100644 --- a/HSCenterSlider/Classes/HSCenterSlider.swift +++ b/HSCenterSlider/Classes/HSCenterSlider.swift @@ -109,7 +109,7 @@ extension HSCenterSlider{ } } - private func setProgressOnUI(progressType: HSProgressType){ + internal func setProgressOnUI(progressType: HSProgressType){ switch progressType { case .left(let progress): let constantValue = min( @@ -146,7 +146,7 @@ extension HSCenterSlider { range2: HSRange(low: 0, high: self.bounds.size.width.double)) } - private var internalLeftHalfRangeConverter: HSRangeConverter? { + internal var internalLeftHalfRangeConverter: HSRangeConverter? { guard let internalConverter = self.internalRangeConverter else { return nil; } @@ -156,7 +156,7 @@ extension HSCenterSlider { range2: HSRange(low: internalConverter.toRange2(of: internalConverter.range1.low), high: internalConverter.toRange2(of: internalConverter.range1.mid)) ) } - private var internalRightHalfRangeConverter: HSRangeConverter? { + internal var internalRightHalfRangeConverter: HSRangeConverter? { guard let internalConverter = self.internalRangeConverter else { return nil; }