Back to Sourcery

EnumCase

docs/Classes/EnumCase.html

2.3.01.6 KB
Original Source

EnumCase

@objcMembers
public final class EnumCase : NSObject, SourceryModel, AutoDescription, Annotated, Documented, Diffable
extension EnumCase: NSCoding

Defines enum case

`

                name
                `

Enum case name

Declaration

Swift

public let name: String

`

                rawValue
                `

Enum case raw value, if any

Declaration

Swift

public let rawValue: String?

`

                associatedValues
                `

Enum case associated values

Declaration

Swift

public let associatedValues: [AssociatedValue]

`

                annotations
                `

Enum case annotations

Declaration

Swift

public var annotations: Annotations

`

                documentation
                `

Declaration

Swift

public var documentation: Documentation

`

                indirect
                `

Whether enum case is indirect

Declaration

Swift

public let indirect: Bool

`

                hasAssociatedValue
                `

Whether enum case has associated value

Declaration

Swift

public var hasAssociatedValue: Bool { 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.