Back to Sourcery

DictionaryType

docs/Classes/DictionaryType.html

2.3.01.5 KB
Original Source

DictionaryType

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

Describes dictionary type

`

                name
                `

Type name used in declaration

Declaration

Swift

public var name: String

`

                valueTypeName
                `

Dictionary value type name

Declaration

Swift

public var valueTypeName: TypeName

`

                valueType
                `

Dictionary value type, if known

Declaration

Swift

public var valueType: Type?

`

                keyTypeName
                `

Dictionary key type name

Declaration

Swift

public var keyTypeName: TypeName

`

                keyType
                `

Dictionary key type, if known

Declaration

Swift

public var keyType: Type?

`

                asGeneric
                `

Returns dictionary as generic type

Declaration

Swift

public var asGeneric: GenericType { get }

`

                asSource
                `

Declaration

Swift

public var asSource: 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.