BlockGroupView

@objcMembers open class BlockGroupView: LayoutView, ZIndexedView

View for rendering a BlockGroupLayout.

  • The layout object to render

    Declaration

    Swift

    open var blockGroupLayout: BlockGroupLayout?
  • The z-index of the block group view

    Declaration

    Swift

    public fileprivate(set) final var zIndex: UInt = 0
  • Flag indicating if this view is being dragged.

    Declaration

    Swift

    public var dragging: Bool = false
  • Returns the furthest descendant of the receiver in the view hierarchy that contains a specified point. Unlike the default implementation, block group view will not return itself.

    Declaration

    Swift

    open override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView?

    Return Value

    The view object that is the furthest descendent the current view and contains point.

  • Refreshes the block group view, when necessary.

    Declaration

    Swift

    open override func refreshView(
        forFlags flags: LayoutFlag = LayoutFlag.All, animated: Bool = false)