Generate a UUID string with ARC enabled and __bridge_transfer [#iosdev]

Needed to safely generate a GUID in iOS using ARC, which, unfortunately, requires the use of Core Foundation classes, so this Stack Overflow post was very helpful:

Generate a UUID string with ARC enabled

CFUUIDRef uuid = CFUUIDCreate(NULL);
NSString *uuidStr = (__bridge_transfer NSString *)CFUUIDCreateString(NULL, uuid);
CFRelease(uuid);