     
     private var currentImageArray = [ImageType]()
     private var currentPage = 0
-  
+    
     private var timer:NSTimer?
     private lazy var scrollView:UIScrollView = {
         

            //设置scrollView偏移位置
            scrollView.contentOffset = CGPoint(x: frame.width, y: 0)
        }

    }
    // MARK: 停止滚动的时候回调
    public func scrollViewDidEndDecelerating(scrollView: UIScrollView) {

    }
    override init (frame: CGRect) {
        super.init(frame: frame)
        
        addSubview(scrollView)
        addSubview(pageControl)
        
