Declared in NSString+SBUUID.h

Tasks

Class Methods

hyphenateUUIDString:

+ (NSString *)hyphenateUUIDString:(NSString *)UUIDString
Discussion

Adds hyphens to a string that holds a ProximityUUID, as specified in http://www.ietf.org/rfc/rfc4122.txt.

The only validation of given string is the strings expected length of 32 characters.

Parameters

UUIDString

String to be converted into a valid format.

Return Value

UUID string with hyphens if given string had a length of 32 characters.

Declared In

NSString+SBUUID.h

isValidUUIDString:

+ (BOOL)isValidUUIDString:(NSString *)UUIDString
Discussion

Check if the provided UUID string represents a valid UUID string.

Parameters

UUIDString

String to check for compliance.

Return Value

YES if the provided UUID string represents a valid UUID string.

Declared In

NSString+SBUUID.h

stripHyphensFromUUIDString:

+ (NSString *)stripHyphensFromUUIDString:(NSString *)UUIDString
Discussion

Removes all hyphens from a given UUID string.

The only validation of given string is the length expected length of 36 characters.

Parameters

UUIDString

String to be cleaned of hyphens.

Return Value

UUID string without hyphens.

Declared In

NSString+SBUUID.h