 
 class RLBubblesView: UIScrollView, UIScrollViewDelegate {
 
-    // MARk:setter方法
+    // MARk: -setter方法
     var nodeModels:NSSet? {
         didSet{//带属性监视器,表示nodeModels被设置时调用(即使是设置相同的值也会调用)
             let gutter:CGFloat = 20

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    @objc private func nodeBtnClick(button:RLNodeBtn) {
        nodeBtnAction(nodeModel: button.nodeModel!)
    }
    
    func addNodeBtnToScrollView(button:RLNodeBtn) {
        self.addSubview(button)
        nodesBtnArray.addObject(button)
    }
    
    func scrollViewDidScroll(scrollView: UIScrollView) {
        let container = CGRectMake(scrollView.contentOffset.x + (self.viewBarrierOuter.mj_w / 8),
                                   scrollView.contentOffset.y + (self.viewBarrierOuter.mj_h / 8),

            
            for nodeModel in nodeModels! {
                let nodeBtn = RLNodeBtn(type:.Custom)
                nodeBtn.frame = CGRectMake(xValue, yValue, 60, 60);
                
                if let nodeM:RLNode = nodeModel as? RLNode {//解包
                    nodeBtn.nodeModel = nodeM
                    nodeBtn.setTitle(nodeM.title, forState:UIControlState.Normal)
                }
                
                self.addSubview(nodeBtn)
                nodesBtnArray.addObject(nodeBtn)
                
