From 8cd01639b664596f35551f8acb5d8a6780a0369e Mon Sep 17 00:00:00 2001 From: Martin Barreto Date: Tue, 27 Sep 2016 15:56:04 -0300 Subject: [PATCH] trying to fix linking error --- Sources/BarPagerTabStripViewController.swift | 2 +- Sources/ButtonBarPagerTabStripViewController.swift | 2 +- Sources/PagerTabStripViewController.swift | 2 +- Sources/SegmentedPagerTabStripViewController.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/BarPagerTabStripViewController.swift b/Sources/BarPagerTabStripViewController.swift index 06fc7d8..2415ea4 100644 --- a/Sources/BarPagerTabStripViewController.swift +++ b/Sources/BarPagerTabStripViewController.swift @@ -40,7 +40,7 @@ open class BarPagerTabStripViewController: PagerTabStripViewController, PagerTab open var settings = BarPagerTabStripSettings() - @IBOutlet lazy open var barView: BarView! = { [unowned self] in + @IBOutlet lazy public var barView: BarView! = { [unowned self] in let barView = BarView(frame: CGRect(x: 0, y: 0, width: self.view.frame.size.width, height: self.settings.style.barHeight)) barView.autoresizingMask = .flexibleWidth barView.backgroundColor = .black diff --git a/Sources/ButtonBarPagerTabStripViewController.swift b/Sources/ButtonBarPagerTabStripViewController.swift index ee6c559..2a8c6bb 100644 --- a/Sources/ButtonBarPagerTabStripViewController.swift +++ b/Sources/ButtonBarPagerTabStripViewController.swift @@ -68,7 +68,7 @@ open class ButtonBarPagerTabStripViewController: PagerTabStripViewController, Pa open var settings = ButtonBarPagerTabStripSettings() - lazy open var buttonBarItemSpec: ButtonBarItemSpec = .nibFile(nibName: "ButtonCell", bundle: Bundle(for: ButtonBarViewCell.self), width:{ [weak self] (childItemInfo) -> CGFloat in + lazy public var buttonBarItemSpec: ButtonBarItemSpec = .nibFile(nibName: "ButtonCell", bundle: Bundle(for: ButtonBarViewCell.self), width:{ [weak self] (childItemInfo) -> CGFloat in let label = UILabel() label.translatesAutoresizingMaskIntoConstraints = false label.font = self?.settings.style.buttonBarItemFont diff --git a/Sources/PagerTabStripViewController.swift b/Sources/PagerTabStripViewController.swift index 526ebd1..cec7ff9 100644 --- a/Sources/PagerTabStripViewController.swift +++ b/Sources/PagerTabStripViewController.swift @@ -53,7 +53,7 @@ public protocol PagerTabStripDataSource: class { open class PagerTabStripViewController: UIViewController, UIScrollViewDelegate { - @IBOutlet lazy open var containerView: UIScrollView! = { [unowned self] in + @IBOutlet lazy public var containerView: UIScrollView! = { [unowned self] in let containerView = UIScrollView(frame: CGRect(x: 0, y: 0, width: self.view.bounds.width, height: self.view.bounds.height)) containerView.autoresizingMask = [.flexibleWidth, .flexibleHeight] return containerView diff --git a/Sources/SegmentedPagerTabStripViewController.swift b/Sources/SegmentedPagerTabStripViewController.swift index def877a..817baf6 100644 --- a/Sources/SegmentedPagerTabStripViewController.swift +++ b/Sources/SegmentedPagerTabStripViewController.swift @@ -36,7 +36,7 @@ public struct SegmentedPagerTabStripSettings { open class SegmentedPagerTabStripViewController: PagerTabStripViewController, PagerTabStripDataSource, PagerTabStripDelegate { - @IBOutlet lazy open var segmentedControl: UISegmentedControl! = UISegmentedControl() + @IBOutlet lazy public var segmentedControl: UISegmentedControl! = UISegmentedControl() open var settings = SegmentedPagerTabStripSettings()