Other Extensions
The following extensions are available globally.
-
Declaration
Swift
struct Dictionary<Key, Value> where Key : Hashable
-
Default implementation LaunchEnvironmentValue for string. Usage example:
public struct StringLaunchEnvironment: LaunchEnvironmentProtocol { public typealias Value = String public let value: Value public var launchEnvironments: [String : String]? { return [uniqueIdentifier: value] } public init(value: Value) { self.value = value } }
Note
internal
initializer would be generated automatically but it would not fulfill requirement ofpublic
protocol.Declaration
Swift
struct String