Products Google for Education Blockly Reference Blockly Framework Reference ViewBuilderDelegate public protocol ViewBuilderDelegate Delegate for events that occur inside a ViewBuilder. viewBuilder(_:didAddChild:toParent:) Event that is called when the ViewBuilder has added child view to a parent view. Declaration Swift func viewBuilder( viewBuilder(_:didRemoveChild:fromParent:) Event that is called when the ViewBuilder has removed a child view from a parent view. Declaration Swift func viewBuilder( Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated December 1, 2017.