Enumeration

NWTXTRecord.Entry

A type of entry in a TXT record dictionary.

Declaration

enum NWTXTRecord.Entry

Topics

Entry Types

case none

The key is not mapped to any value.

case empty

The key is mapped to an empty value.

case string(String)

The key is mapped to a string.

Relationships

See Also

Creating TXT Records

init([String : String])

Initializes a TXT record with a dictionary of strings.

func removeEntry(key: String) -> Bool

Removes an entry from a TXT record dictionary.

func setEntry(NWTXTRecord.Entry, for: String) -> Bool

Sets an entry in a TXT record dictionary.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software