HUBComponentWithChildren

@protocol HUBComponentWithChildren <HUBComponent>

Extended Hub component protocol that adds the ability to handle child components

Use this protocol if your component supports nesting other components within it. Use the assigned childDelegate to let the Hub Framework perform tasks for nested components for you. See HUBComponent for more info.

  • The object that acts as a delegate for events related to the component’s children

    Don’t assign any custom objects to this property. Instead, just \@sythensize it, so that the Hub Framework can assign an internal object to this property, to enable you to send events for the component’s children back from the component to the framework, as well as creating child component instances.

    Declaration

    Objective-C

    @property (readwrite, nonatomic, nullable) id<HUBComponentChildDelegate>
        childDelegate;