AssociatedType

@objcMembers
public final class AssociatedType : NSObject, SourceryModel
extension AssociatedType: NSCoding

Describes Swift AssociatedType

  • Associated type name

    Declaration

    Swift

    public let name: String
  • Associated type type constraint name, if specified

    Declaration

    Swift

    public let typeName: TypeName?
  • Associated type constrained type, if known, i.e. if the type is declared in the scanned sources.

    Declaration

    Swift

    public var type: Type?
  • Declaration

    Swift

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