IBCalculator
IBCalculator is an example app to demonstrate how to use @IBDesignable and @IBInspectable. The origin code is from IBInspectable / IBDesignable and gist. The code has been upgraded to Swift 3.
Screenshots Design in Interface Builder IBCalculator
Run in iPhone Simulator IBCalculator