RectangleView

@IBDesignable
public class RectangleView : UIView

A rectangle.

  • The rectangle color.

    Declaration

    Swift

    @IBInspectable
    public var color: UIColor? { get set }
  • The rectangle corner radius.

    Declaration

    Swift

    @IBInspectable
    public var cornerRadius: CGFloat { get set }
  • Set if this view should use animation to change its look.

    Declaration

    Swift

    @IBInspectable
    public var withAnimation: Bool
  • Undocumented

    Declaration

    Swift

    public override init(frame: CGRect)
  • Undocumented

    Declaration

    Swift

    public required init?(coder aDecoder: NSCoder)
  • Undocumented

    Declaration

    Swift

    public override func layoutSubviews()
  • Undocumented

    Declaration

    Swift

    public override func willMove(toWindow newWindow: UIWindow?)