data(fromTXTRecord:)
Returns an NSData object representing a TXT record formed from a given dictionary.
Declaration
class func data(fromTXTRecord txtDictionary: [String : Data]) -> DataParameters
- txtDictionary:
A dictionary containing a TXT record.
Return Value
An NSData object representing TXT data formed from txtDictionary. Fails an assertion if txtDictionary cannot be represented as an NSData object.