Class
ScenarioKind
public class ScenarioKind: NSObject, RawRepresentable, ExpressibleByStringLiteral, ExpressibleByStringInterpolation, CaseIterable
Represents a unique identifier of the set of scenarios.
Relationships
Conforms To
CaseIterable
ExpressibleByStringInterpolation
ExpressibleByStringLiteral
NSObject
RawRepresentable
Initializers
init(rawValue:)
public required init(rawValue: String)
Creates a new kind with given raw string value.
Parameters
Name | Type | Description |
---|---|---|
rawValue | String |
The raw string value. |
init(stringLiteral:)
public required convenience init(stringLiteral value: String)
Creates a new kind with given raw string value.
Parameters
Name | Type | Description |
---|---|---|
value | String |
The raw string value. |
init(rawValue:nameForSorting:)
public convenience init(rawValue: String, nameForSorting: String? = nil)
Properties
feature
let feature: ScenarioKind = "Feature"
rawValue
var rawValue: String
The raw string value.
name
var name: String
A string representing the name of this kind.
nameForSorting
var nameForSorting: String
description
var description: String
A textual representation of this instance.
allCases
var allCases: [ScenarioKind]