init(kind:id:)
Creates content with the specified kind and generation identifier.
Declaration
init(kind: GeneratedContent.Kind, id: GenerationID? = nil)Parameters
- kind:
The kind of content to create.
- id:
An optional Generationid to associate with this content.
Discussion
This initializer provides a convenient way to create content from its kind representation.