Network · IOS API REFERENCE
TXTRecordDecoder
struct · iOS 18.0+ · SDK 27.1
struct TXTRecordDecoder
Members (2)
method · iOS 18.0+decode
TypeScriptdecode(type: "Bool" | "Int" | "UInt" | "Double" | "Float" | "String" | "CGFloat" | "Date" | "URL" | "Data" | "UUID", txtRecord: NWTXTRecord): unknown
Swift declarationfunc decode<T>(_ type: T.Type, from txtRecord: NWTXTRecord) throws -> T where T : Decodable
init · iOS 18.0+init
TypeScriptstatic init(): TXTRecordDecoder
Swift declarationinit()
Skipped declarations
No declarations were skipped in this snapshot.
All Network types →