|
@@ -21,7 +21,7 @@ public protocol MVBannerDataSource: NSObjectProtocol {
|
|
|
|
|
|
private let MVInsetCount: Int = 0
|
|
private let MVInsetCount: Int = 0
|
|
public class MVBanner: UIView {
|
|
public class MVBanner: UIView {
|
|
- private var currentIndex: Int = MVInsetCount
|
|
|
|
|
|
+ var currentIndex: Int = MVInsetCount
|
|
public var collectionView: UICollectionView!
|
|
public var collectionView: UICollectionView!
|
|
private var flowLayout: MVBannerFlowLayout!
|
|
private var flowLayout: MVBannerFlowLayout!
|
|
public weak var dataSource: MVBannerDataSource?
|
|
public weak var dataSource: MVBannerDataSource?
|