         collectionView.delegate = nil
         collectionView.dataSource = nil
     }
-    public override func layoutSubviews() {
+    override open func layoutSubviews() {
         super.layoutSubviews()
         
         flowLayout.itemSize = self.frame.size

        }
        return max(0, index)
    }
    weak var timer: Timer?
    
    // MARK: - 初始化方法
    override init(frame: CGRect) {

    func cycleScrollView(_ cycleScrollView: MYCycleScrollView, didScrollTo index: Int)
}

open class MYCycleScrollView: UIView {

    // MARK: - Public Properties
    public var imageURLs = [String]() {
