ETUUID class documentationETUUID : NSObject <NSCopying>
When an ETUUID is instantiated, the underlying UUID is generated with the version 4 (aka random) generation scheme.
Take note the random scheme used on Linux and BSD platforms is based on a strong random number, unlike other platforms where a simpler random scheme is used. Which means collisions can occur on these platforms if you try to generate ETUUID in a tight loop.
You can use -isEqual: to check the equality between two ETUUID instances.
ETUUID does not have a designated initializer.
- + (id) UUIDWithString: (NSString *)aString
Returns an autoreleased UUID object for the given UUID string representation.
- + (ETUUID *) UUIDWithData: (NSData *)aData
Returns an autoreleased UUID object for the given 16-byte NSData.
- - (id) initWithUUID: (const unsigned char*)aUUID
Initializes the UUID object with a 128-bit binary value.
- - (id) initWithString: (NSString *)aString
Initializes the UUID object from a string representation.