Panel

public class Panel : ControlView
extension Panel: RadioButtonManagerType

A container control that places components within an outlined panel area

  • Layout guide representing the area of the panel that subviews can be laid out safely without colliding with the panel’s label.

    Declaration

    Swift

    public let containerLayoutGuide: LayoutGuide
  • A title label that is displayed on the top side of the panel.

    Setting this to an empty string hides the label completely and the panel takes a solid outline form.

    Declaration

    Swift

    public var title: String { get set }
  • The inset from the edges containerLayoutGuide inhabits. The upper bounds of the container is always connected to the bottom of the panel’s label, if !title.isEmpty, otherwise, the top edge relates to the panel’s own top edge.

    Declaration

    Swift

    public var containerInset: UIEdgeInsets { get set }
  • Undocumented

    Declaration

    Swift

    public init(title: String)
  • Declaration

    Swift

    public override func setupHierarchy()
  • Declaration

    Swift

    public override func setupConstraints()
  • Declaration

    Swift

    public override func boundsForRedraw() -> UIRectangle
  • Declaration

    Swift

    public override func renderBackground(in context: Renderer, screenRegion: ClipRegionType)