Back to Sourcery

GenericType

docs/Classes/GenericType.html

2.3.01.1 KB
Original Source

GenericType

@objcMembers
public final class GenericType : NSObject, SourceryModelWithoutDescription, Diffable
extension GenericType: NSCoding

Descibes Swift generic type

`

                name
                `

The name of the base type, i.e. Array for Array<Int>

Declaration

Swift

public var name: String

`

                typeParameters
                `

This generic type parameters

Declaration

Swift

public let typeParameters: [GenericTypeParameter]

`

                asSource
                `

Declaration

Swift

public var asSource: String { get }

`

                description
                `

Declaration

Swift

public override var description: String { get }

`

                diffAgainst(_:)
                `

Declaration

Swift

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

Copyright © 2016-2021 Pixle. All rights reserved.

Generated by jazzy ♪♫ v0.14.0, a Realm project.