         }
         return selected
     }
-    
+
     public func getSelectedValues() -> [String] {
         return self.getSelectedItems().map { (let item) -> String in
             return item.value
         }
     }
-    
+
     public func getSelectedValue() -> String {
         return self.getSelectedValues().first!
     }
-    
+
     public func onSelection(){
         self.callOnSelection(self)
     }
-    
+
     public func positionItems(){
-        
+
         if self.items.count <= 1 {
             return
         }
-        
+
         for index in 1...(self.items.count - 1) {
             let item = self.items[index]
-            item.backgroundColor = UIColor.blueColor()
             item.snp_updateConstraints(closure: { (make) -> Void in
                 make.left.width.equalTo(self)
                 make.height.equalTo(self.itemHeight)

            })
        }
    }
    
    // OVERIDE THIS FUNCTION TO DO THINGS AFTER THE GROUP HAS BEEN DRAWN
    func after(){
        
    }
    
}
            addItem(i)
        }
    }

    func addAnchorItem(){
        let first = UIView()
        self.addSubview(first)

        first.snp_makeConstraints { (make) -> Void in
            make.width.top.left.equalTo(self)
            make.height.equalTo(0)
        }
        self.items.append(first)
    }

    func addItem(item: PineSelectGroupItem){
        self.addSubview(item)
        items.append(item)
    }

    public func getSelectedItems() -> [PineSelectGroupItem] {
        var selected : [PineSelectGroupItem] = []
        for item in self.items {
