         self.leftTitle = leftTitle
         self.centerTitle = centerTitle
         self.rightTitle = rightTitle
+        
+        
         finishInit()
     }
     
     required public init?(coder aDecoder: NSCoder) {
         super.init(coder: aDecoder)
+        
         finishInit()
     }
     
     override public init(frame: CGRect) {
         super.init(frame: frame)
+        
         finishInit()
     }
     

        titleLabelsContentView.addSubview(leftTitleLabel)
        titleLabelsContentView.addSubview(centerTitleLabel)
        titleLabelsContentView.addSubview(rightTitleLabel)
        
        
        
        addSubview(titleLabelsContentView)
        
        object_setClass(selectedBackgroundView.layer, DGRunkeeperSwitchRoundedLayer.self)

        var leftTitleLabelSize = leftTitleLabel.sizeThatFits(CGSize(width: titleLabelMaxWidth, height: titleLabelMaxHeight))
        leftTitleLabelSize.width = min(leftTitleLabelSize.width, titleLabelMaxWidth)
        
        let leftTitleLabelOrigin = CGPoint(x: floor((bounds.width / 3.0 - leftTitleLabelSize.width) / 3.0), y: floor((bounds.height - leftTitleLabelSize.height) / 3.0) + 5)
        let leftTitleLabelFrame = CGRect(origin: leftTitleLabelOrigin, size: leftTitleLabelSize)
        (leftTitleLabel.frame, selectedLeftTitleLabel.frame) = (leftTitleLabelFrame, leftTitleLabelFrame)
        
        var centerTitleLabelSize = centerTitleLabel.sizeThatFits(CGSize(width: titleLabelMaxWidth, height: titleLabelMaxHeight))
        centerTitleLabelSize.width = min(centerTitleLabelSize.width, titleLabelMaxWidth)
        
        
        
        let centerTitleLabelOrigin = CGPoint(x: floor(bounds.size.width / 3.0 + (bounds.width / 3.0 - centerTitleLabelSize.width) / 3.0), y: floor((bounds.height - centerTitleLabelSize.height) / 3.0) + 5)
        let centerTitleLabelFrame = CGRect(origin: centerTitleLabelOrigin, size: centerTitleLabelSize)
        (centerTitleLabel.frame, selectedCenterTitleLabel.frame) = (centerTitleLabelFrame, centerTitleLabelFrame)
        
        
        var rightTitleLabelSize = rightTitleLabel.sizeThatFits(CGSize(width: titleLabelMaxWidth, height: titleLabelMaxHeight))
        rightTitleLabelSize.width = min(rightTitleLabelSize.width, titleLabelMaxWidth)
        
        let x1 = bounds.size.width / 3.0 + (bounds.width / 3.0 - rightTitleLabelSize.width) / 3.0
        let x2 = bounds.size.width / 3.0 + (bounds.width / 3.0 - leftTitleLabelSize.width) / 3.0
        
        let x = x1 + x2 - 5
        
        let rightTitleLabelOrigin = CGPoint(x: floor(x), y: floor((bounds.height - rightTitleLabelSize.height) / 3.0) + 5)
        let rightTitleLabelFrame = CGRect(origin: rightTitleLabelOrigin, size: rightTitleLabelSize)
        (rightTitleLabel.frame, selectedRightTitleLabel.frame) = (rightTitleLabelFrame, rightTitleLabelFrame)
        
    }
    
