PUInspectable
public protocol PUInspectable
PowerUpSwift: A protocol that the majority of the PowerUpSwift classes conform to such as PUView
.
All these classes allow the editing of additional UIKit properties via the Interface Builder.
-
PowerUpSwift: Makes the corner radius editable via the Interface Builder.
Declaration
Swift
var cornerRadius: CGFloat { get set }
-
PowerUpSwift: Makes the width of the border editable via the Interface Builder.
Declaration
Swift
var borderWidth: CGFloat { get set }
-
PowerUpSwift: Makes the color of the border editable via the Interface Builder.
Declaration
Swift
var borderColor: UIColor? { get set }
-
PowerUpSwift: Makes the raidus of the shadow editable via the Interface Builder.
Declaration
Swift
var shadowRadius: CGFloat { get set }
-
PowerUpSwift: Makes the opacity of the shadow editable via the Interface Builder.
Declaration
Swift
var shadowOpacity: Float { get set }
-
PowerUpSwift: Makes the offset of the shadow editable via the Interface Builder.
Declaration
Swift
var shadowOffset: CGSize { get set }
-
PowerUpSwift: Makes the color of the shadow editable via the Interface Builder.
Declaration
Swift
var shadowColor: UIColor? { get set }