Platforms to show: All Mac Windows Linux Cross-Platform
NSUUIDMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Cocoa | MBS MacBase Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
UUIDs (Universally Unique Identifiers), also known as GUIDs (Globally Unique Identifiers) or IIDs (Interface Identifiers), are 128-bit values. UUIDs created by NSUUID conform to RFC 4122 version 4 and are created with random bytes.
The standard format for UUIDs represented in ASCII is a string punctuated by hyphens, for example 68753A44-4D6F-1226-9C60-0050E4C00067. The hex representation looks, as you might expect, like a list of numerical values preceded by 0x. For example, 0xD7, 0x36, 0x95, 0x0A, 0x4D, 0x6E, 0x12, 0x26, 0x80, 0x3A, 0x00, 0x50, 0xE4, 0xC0, 0x00, 0x67. Because a UUID is expressed simply as an array of bytes, there are no endianness considerations for different platforms.
- 3 properties
- property data as MemoryBlock
- property Handle as Integer
- property UUIDString as String
- 6 methods
- method Constructor
- method Constructor(UUID as MemoryBlock)
- method Constructor(UUID as String)
- method copy as NSUUIDMBS
- method isEqual(other as NSUUIDMBS) as boolean
- method Operator_Compare(other as NSUUIDMBS) as Integer
- 2 shared methods
This class has no sub classes.
Some methods using this class:
- CBCentralManagerMBS.retrievePeripheralsWithIdentifiers(identifiers() as NSUUIDMBS) as CBPeripheralMBS()
- CBUUIDMBS.UUIDWithNSUUID(uuid as NSUUIDMBS) as CBUUIDMBS
Blog Entries
Release notes
- Version 18.2
- Added NSUUIDMBS, NSStreamMBS, NSOutputStreamMBS and NSInputStreamMBS classes.
The items on this page are in the following plugins: MBS MacBase Plugin.
NSUserUnixTaskMBS - NSViewControllerMBS