LaunchEnvironmentValue
public protocol LaunchEnvironmentValue
Contains basic requirements for type that will be used as value for launch environment.
Example:
public enum DataSource: String, LaunchEnvironmentValue {
case valid = "mock_valid"
case error = "mock_error"
}
-
value
Default implementationString
which is passed with launch enviroment.Default Implementation
Returns
rawValue
.Declaration
Swift
var value: String { get }