diff --git a/Source/General/SegementSlideDefaultViewController.swift b/Source/General/SegementSlideDefaultViewController.swift index 6efdbd8..542da39 100644 --- a/Source/General/SegementSlideDefaultViewController.swift +++ b/Source/General/SegementSlideDefaultViewController.swift @@ -11,7 +11,7 @@ open class SegementSlideDefaultViewController: SegementSlideViewController { private let defaultSwitcherView = SegementSlideDefaultSwitcherView() - public override func segementSlideSwitcherView() -> SegementSlideSwitcherDelegate { + open override func segementSlideSwitcherView() -> SegementSlideSwitcherDelegate { defaultSwitcherView.delegate = self defaultSwitcherView.ssDataSource = self return defaultSwitcherView @@ -39,7 +39,7 @@ open class SegementSlideDefaultViewController: SegementSlideViewController { } /// reload badges in SwitcherView - public func reloadBadgeInSwitcher() { + open func reloadBadgeInSwitcher() { defaultSwitcherView.reloadBadges() } diff --git a/Source/General/SegementSlideViewController.swift b/Source/General/SegementSlideViewController.swift index 2c8a6b8..91cf5f2 100644 --- a/Source/General/SegementSlideViewController.swift +++ b/Source/General/SegementSlideViewController.swift @@ -30,7 +30,7 @@ open class SegementSlideViewController: UIViewController { internal var lastChildBouncesTranslationY: CGFloat = 0 internal var cachedChildViewControllerIndex: Set = Set() - public var headerStickyHeight: CGFloat { + open var headerStickyHeight: CGFloat { let headerHeight = headerView.frame.height.rounded(.up) if edgesForExtendedLayout.contains(.top) { return headerHeight - topLayoutLength