Associated Type 関連型

Body

The type of commands that represents the body of this command hierarchy.

Declaration 宣言

associatedtype Body : Commands

Discussion 議論

When you create custom commands, Swift infers this type from your implementation of the required body property.

See Also 参照

Implementing Commands