             // 改变中间视图位置
             transformCenterViewToX(centerViewWillToOrginX)
         }
-       
-    
+        
+        
         // 如果手指滑动已经结束
         if recognizer.state == .Ended {
             

        }
        return nil
    }

}

    
    
    /**
    如果leftViewController处于关闭状态，那么tap事件应该交给下级响应者来处理
    
    :param: gestureRecognizer tap手势
    :param: touch             tap触摸事件
    
    :returns: 如果当前处于关闭状态那么返回false，如果处于开启状态返回true
    */
    func gestureRecognizer(gestureRecognizer: UIGestureRecognizer, shouldReceiveTouch touch: UITouch) -> Bool {
        if gestureRecognizer is UITapGestureRecognizer && toggleState == .Close {
            return false
        }
        return true
    }
    
    
    
    /**
    显示左侧视图，并且改变toggleState为Open, 并且更新centerTempOriginX 为 maxinumOffsetX
    */
    func showLeftViewControllerWithDuration(duration: Double){
        
        UIView.animateWithDuration(duration, delay: 0, options: .CurveLinear, animations: { () -> Void in
            self.transformCenterViewToX(self.maxinumOffsetX)
            }){[unowned self](finished) -> Void in
                self.toggleState = .Open
                self.centerViewTempOriginX = self.maxinumOffsetX
        }
        
    }
    
    
    
