trying to fix linking error
This commit is contained in:
parent
0b3f3244c9
commit
8cd01639b6
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue