Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSNetServiceMBS class.
NSNetServiceMBS.dataFromTXTRecordDictionary(data as Dictionary) as Memoryblock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Data: A dictionary containing a TXT record.
Returns a Memoryblock representing TXT data formed from txtDictionary. Fails an assertion if data cannot be represented as a MemoryBlock.
NSNetServiceMBS.dictionaryFromTXTRecordData(data as Memoryblock) as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Data: A data object encoding a TXT record.
Returns a dictionary representing txtData. The dictionary’s keys are strings. The values associated with all the dictionary’s keys are Memoryblcoks that encapsulate strings or data.
Fails an assertion if txtData cannot be represented as an Dictionary object.
NSNetServiceMBS.NSNetServicesErrorCode as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSNetServiceMBS.NSNetServicesErrorDomain as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | Cocoa Networking | MBS MacFrameworks Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
For most errors, you should not need the value provided by this key.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.