Documentation Language: Swift

Initializer

init(id:name:ePackage:eAnnotations:)

Creates a new factory.

init(id: EUUID = EUUID(), name: String? = nil, ePackage: EPackage, eAnnotations: [EAnnotation] = [])

Parameters

id

Unique identifier (generates a new UUID if not provided).

name

The name of the factory (defaults to package name + “Factory”).

ePackage

The package that this factory creates instances for.

eAnnotations

Annotations (empty by default).