docs/Classes/Types.html
@objcMembers
public final class Types : NSObject, SourceryModel, Diffable
extension Types: NSCoding
Collection of scanned types for accessing in templates
`
typealiases
`
All known typealiases
Swift
public let typealiases: [Typealias]
`
diffAgainst(_:)
`
Swift
public func diffAgainst(_ object: Any?) -> DiffableResult
`
all
`
All known types, excluding protocols or protocol compositions.
Swift
public lazy internal(set) var all: [Type] { get set }
`
protocols
`
All known protocols
Swift
public lazy internal(set) var protocols: [Protocol] { get set }
`
protocolCompositions
`
All known protocol compositions
Swift
public lazy internal(set) var protocolCompositions: [ProtocolComposition] { get set }
`
classes
`
All known classes
Swift
public lazy internal(set) var classes: [Class] { get set }
`
structs
`
All known structs
Swift
public lazy internal(set) var structs: [Struct] { get set }
`
enums
`
All known enums
Swift
public lazy internal(set) var enums: [Enum] { get set }
`
extensions
`
All known extensions
Swift
public lazy internal(set) var extensions: [Type] { get set }
`
based
`
Types based on any other type, grouped by its name, even if they are not known. types.based.MyType returns list of types based on MyType
Swift
public lazy internal(set) var based: TypesCollection { get set }
`
inheriting
`
Classes inheriting from any known class, grouped by its name. types.inheriting.MyClass returns list of types inheriting from MyClass
Swift
public lazy internal(set) var inheriting: TypesCollection { get set }
`
implementing
`
Types implementing known protocol, grouped by its name. types.implementing.MyProtocol returns list of types implementing MyProtocol
Swift
public lazy internal(set) var implementing: TypesCollection { get set }
Copyright © 2016-2021 Pixle. All rights reserved.
Generated by jazzy ♪♫ v0.14.0, a Realm project.