     private var pageControlConstraints = [NSLayoutConstraint]()
     private var timer : NSTimer!
     private var order : PlayOrder = .Asc
+    private var leftSwipeGestureRecognizer:UISwipeGestureRecognizer!
+    private var rightSwipeGestureRecognizer:UISwipeGestureRecognizer!
     
     // MARK: -
     

        }
    }
    
    // MARK: -
    
    /**

        
        isAutoPlay = false
        
        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (Int64)(NSEC_PER_SEC * UInt64(duration))), dispatch_get_main_queue(), { () -> Void in
            
            self.isAutoPlay = true
        })
        
        index = sender.currentPage
    }
    
    /**
     * 左右滑动
     */
    func handleSwipes(sender: UISwipeGestureRecognizer) {
        
        isAutoPlay = false
        
        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (Int64)(NSEC_PER_SEC * UInt64(duration))), dispatch_get_main_queue(), { () -> Void in
            
            self.isAutoPlay = true
        })
        
        if sender.direction == UISwipeGestureRecognizerDirection.Left {
            
            index -= 1
        }
        
        if sender.direction == UISwipeGestureRecognizerDirection.Right {
            
            index += 1
        }
    }
}
