         }
     }
 
-    private lazy var rootScrollView     =   UIScrollView()  //  主视图
-    private lazy var topScrollView      =   UIScrollView()  //  顶部页签视图
+    fileprivate lazy var rootScrollView     =   UIScrollView()  //  主视图
+    fileprivate lazy var topScrollView      =   UIScrollView()  //  顶部页签视图
     private lazy var rightSideButton    =   UIButton()      //  右侧按钮
     private lazy var leftSideButton     =   UIButton()      //  左侧按钮
     
-    private lazy var userContentOffsetX: CGFloat = 0.0
-    private lazy var isLeftScroll   =   false               //  是否左滑动
-    private lazy var isRootScroll   =   false               //  主视图是否滑动
+    fileprivate lazy var userContentOffsetX: CGFloat = 0.0
+    fileprivate lazy var isLeftScroll   =   false               //  是否左滑动
+    fileprivate lazy var isRootScroll   =   false               //  主视图是否滑动
     private lazy var isBuildUI      =   false               //  是否建立了UI
     
     private lazy var userSelectedChannelID = 100            //  点击按钮选择名字ID

     - parameter view:        本控件
     - parameter panLeftEdge: 手势
     */
    optional func switchView(view: RGSwitchView, panLeftEdge: UIPanGestureRecognizer)
    
    /**
     滑动右边界时传递手势

        if sender.tag != userSelectedChannelID {
            //  取之前的按钮
            let lastButton = topScrollView.viewWithTag(userSelectedChannelID) as! UIButton
            lastButton.isSelected = false
            //  赋值按钮ID
            userSelectedChannelID = sender.tag
        }
        
        //  按钮选中状态
        if sender.isSelected == false {
            sender.isSelected = true
            
            UIView.animate(withDuration: 0.25, animations: { () -> Void in
                self.shadowImageView.frame = CGRect(x: sender.frame.origin.x, y: 0,
                    width: sender.frame.size.width, height: self.shadowImage.size.height)
                }, completion: { (finished) -> Void in
