One Logo Pool Ball
Network · IOS API REFERENCE

TXTRecordDecoder

struct · iOS 18.0+ · SDK 27.1

struct TXTRecordDecoder

Members (2)

method · iOS 18.0+

decode

TypeScript
decode(type: "Bool" | "Int" | "UInt" | "Double" | "Float" | "String" | "CGFloat" | "Date" | "URL" | "Data" | "UUID", txtRecord: NWTXTRecord): unknown
Swift declaration
func decode<T>(_ type: T.Type, from txtRecord: NWTXTRecord) throws -> T where T : Decodable
init · iOS 18.0+

init

TypeScript
static init(): TXTRecordDecoder
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All Network types →