         }
     }
     
-    var byText : NSAttributedString? {
+    private var byText : NSAttributedString? {
         get {
             return byLabel.attributedText
         }

        }
    }
    
    var typeText : NSAttributedString? {
        get {
            return typeButton.attributedText
        }

        contentView.addSubview(byLabel)
        contentView.addSubview(countButton)
        
        addConstraints()
    }
    
    required init(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    private func addConstraints() {
        typeButton.snp_makeConstraints { (make) -> Void in
            make.leading.equalTo(self.contentView).offset(15)
            make.centerY.equalTo(self.contentView)
        }
        
        titleLabel.snp_makeConstraints { (make) -> Void in
            make.leading.equalTo(typeButton.snp_trailing).offset(15)
            make.centerY.equalTo(self.contentView).offset(-5)
            make.height.equalTo(20)
        }
        
        byLabel.snp_makeConstraints { (make) -> Void in
            make.leading.equalTo(titleLabel)
            make.top.equalTo(titleLabel.snp_bottom)
        }
    }
    
    private var titleTextStyle : OEXTextStyle {
