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

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

    
    deinit {
        scrollView.delegate = nil
        timer?.invalidate()
        timer = nil
    }
    
    private func reloadData() {
