changed this super.init(frame: CGRect.zeroRect) to super.init(frame: CGRect.zero)
2.The compiler was unable to solve the state at line 239 (rightTitleLabelFrame). i had to break this into two lines
let tempPoint = CGPoint(x: floor(bounds.size.width / 2.0 + (bounds.width / 2.0 - rightTitleLabelSize.width) / 2.0), y: floor((bounds.height - rightTitleLabelSize.height) / 2.0))
let rightTitleLabelFrame = CGRect(origin: tempPoint, size: rightTitleLabelSize)
I am running this on lates xcode 7 beta 6.