|
@@ -19,10 +19,10 @@ public protocol MVBannerDataSource: NSObjectProtocol {
|
|
|
@objc optional func pageControl(currentPage page: Int)
|
|
|
}
|
|
|
|
|
|
-private let MVInsetCount: Int = 2
|
|
|
+private let MVInsetCount: Int = 0
|
|
|
public class MVBanner: UIView {
|
|
|
private var currentIndex: Int = MVInsetCount
|
|
|
- private var collectionView: UICollectionView!
|
|
|
+ public var collectionView: UICollectionView!
|
|
|
private var flowLayout: MVBannerFlowLayout!
|
|
|
public weak var dataSource: MVBannerDataSource?
|
|
|
public weak var delegate: MVBannerDelegate?
|