No more field of white rects in Interface Builder

Great overview of using @IBDesignable and @IBInspectable in xcode6 to allow Interface Builder to show accurate previews of your custom views.

Building custom UI element with ibdesignable