AssociatedValue

@objcMembers
public final class AssociatedValue : NSObject, SourceryModel, AutoDescription, Typed, Annotated

Defines enum case associated value

  • Associated value local name. This is a name to be used to construct enum case value

    Declaration

    Swift

    public let localName: String?
  • Associated value external name. This is a name to be used to access value in value-bindig

    Declaration

    Swift

    public let externalName: String?
  • Associated value type name

    Declaration

    Swift

    public let typeName: TypeName
  • Associated value type, if known

    Declaration

    Swift

    public var type: Type?
  • Associated value default value

    Declaration

    Swift

    public let defaultValue: String?
  • Annotations, that were created with // sourcery: annotation1, other = “annotation value”, alterantive = 2

    Declaration

    Swift

    public var annotations: Annotations