Contents

addComponent(_:)

Adds a component instance to the component system.

Declaration

func addComponent(_ component: ComponentType)

Parameters

Discussion

The component instance must be of the same GKComponent subclass specified by the componentClass property.

See Also

Managing a List of Components