NSData object representing a TXT record formed from a given dictionary.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
A dictionary containing a TXT record.
NSData object representing TXT data formed from
txtDictionary. Fails an assertion if
txtDictionary cannot be represented as an
Configuring Network Services
A read-only array containing
NSData objects, each of which contains a socket address for the service.
A string containing the domain for this service.
Specifies whether to also publish, resolve, or monitor this service over peer-to-peer Bluetooth and Wi-Fi, if available.
NO by default.
Creates a pair of input and output streams for the receiver and returns a Boolean value that indicates whether they were retrieved successfully.
A string containing the name of this service.
The type of the published service.
Sets the TXT record for the receiver, and returns a Boolean value that indicates whether the operation was successful.