         }
     }
 
-    var delegate: CirCleViewDelegate?
+    public var delegate: CirCleViewDelegate?
     
     var indexOfCurrentImage: Int!  {                // 当前显示的第几张图片
         //监听显示的第几张图片，来更新分页指示器

    
    //事件触发方法
    func timerAction() {
        print("timer", terminator: "")
        contentScrollView.setContentOffset(CGPointMake(self.frame.size.width*2, 0), animated: true)
    }



    var contentScrollView: UIScrollView!
    
    public var imageArray: [UIImage!]! {
        //监听图片数组的变化，如果有变化立即刷新轮转图中显示的图片
        willSet(newValue) {
            self.imageArray = newValue
