Back to Sourcery

Protocol

docs/Classes/Protocol.html

2.3.01.1 KB
Original Source

Protocol

@objcMembers
public final class Protocol : Type

Describes Swift protocol

`

                kind
                `

Declaration

Swift

public class var kind: String { get }

`

                kind
                `

Returns “protocol”

Declaration

Swift

public override var kind: String { get }

`

                associatedTypes
                `

list of all declared associated types with their names as keys

Declaration

Swift

public var associatedTypes: [String : AssociatedType] { get set }

`

                genericRequirements
                `

list of generic requirements

Declaration

Swift

public override var genericRequirements: [GenericRequirement] { get set }

`

                diffAgainst(_:)
                `

Declaration

Swift

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

Copyright © 2016-2021 Pixle. All rights reserved.

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