Extensions
The following extensions are available globally.
-
Declaration
Swift
extension JSONDecoder: BodyDecoder -
Declaration
Swift
extension JSONEncoder: BodyEncoder -
Codable String Conversion Extension.
See moreDeclaration
-
Extends
Intto comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `Int`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension Int: Identifier -
Extends
Int8to comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `Int8`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension Int8: Identifier -
Extends
Int16to comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `Int16`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension Int16: Identifier -
Extends
Int32to comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `Int32`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension Int32: Identifier -
Extends
Int64to comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `Int64`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension Int64: Identifier -
Extends
UIntto comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `UInt`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension UInt: Identifier -
Extends
UInt8to comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `UInt8`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension UInt8: Identifier -
Extends
UInt16to comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `UInt16`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension UInt16: Identifier -
Extends
UInt32to comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `UInt32`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension UInt32: Identifier -
Extends
UInt64to comply to theIdentifierprotocol.Usage Example:
See more// The Identifier used in the Id field could be an `UInt64`. public typealias IdentifierCodableClosure<Id: Identifier, I: Codable, O: Codable> = (Id, I, @escaping CodableResultClosure<O>) -> VoidDeclaration
Swift
extension UInt64: Identifier -
Declaration
Swift
extension Double: Identifier -
Declaration
Swift
extension Float: Identifier -
Declaration
Swift
extension Bool: Identifier -
Declaration
Swift
extension UUID: Identifier
View on GitHub
Extensions Reference