소스 검색

分开属性

jsonwang 4 년 전
부모
커밋
4b4dc9032e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MusicVideoPlus/MusicVideoPlus/Classes/Modules/Home/Views/Banner/MVBanner.swift

+ 1 - 1
MusicVideoPlus/MusicVideoPlus/Classes/Modules/Home/Views/Banner/MVBanner.swift

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