ViewBuilder

open class ViewBuilder: NSObject

Class for maintaining the View hierarchy from a Layout hierarchy.

  • Builds the entire view tree for workspaceView based on its current layout (ie. workspaceView.workspaceLayout).

    Throws

    BlocklyError: Thrown if the view tree could not be created for this workspace.

    Declaration

    Swift

    open func buildViewTree(forWorkspaceView workspaceView: WorkspaceView) throws