ArrayType

@objcMembers
public final class ArrayType : NSObject, SourceryModel, Diffable
extension ArrayType: NSCoding

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 }
  • Declaration

    Swift

    public var asSource: String { get }
  • Declaration

    Swift

    public func diffAgainst(_ object: Any?) -> DiffableResult