ArrayType

@objcMembers
public final class ArrayType : NSObject, SourceryModel

Describes array type

  • Type name used in declaration

    Declaration

    Swift

    public var name: String
  • Array element type name

    Declaration

    Swift

    public var elementTypeName: TypeName
  • Array element type, if known

    Declaration

    Swift

    public var elementType: Type?
  • Returns array as generic type

    Declaration

    Swift

    public var asGeneric: GenericType { get }