DefaultBlockView

@objcMembers public final class DefaultBlockView: BlockView

A default implementation of BlockView.

  • Initializes the default block view.

    Declaration

    Swift

    public required init()
  • Returns the farthest descendant of the receiver in the view hierarchy that contains a specified point. Unlike the default implementation, default block view will only return itself if the point lies within the bezier curve of the block.

    Declaration

    Swift

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

    Return Value

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

  • Declaration

    Swift

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