trying to fix linking error

This commit is contained in:
Martin Barreto 2016-09-27 15:56:04 -03:00
parent 0b3f3244c9
commit 8cd01639b6
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -68,7 +68,7 @@ open class ButtonBarPagerTabStripViewController: PagerTabStripViewController, Pa
open var settings = ButtonBarPagerTabStripSettings()
lazy open var buttonBarItemSpec: ButtonBarItemSpec<ButtonBarViewCell> = .nibFile(nibName: "ButtonCell", bundle: Bundle(for: ButtonBarViewCell.self), width:{ [weak self] (childItemInfo) -> CGFloat in
lazy public var buttonBarItemSpec: ButtonBarItemSpec<ButtonBarViewCell> = .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

View File

@ -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

View File

@ -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()