_chapterTitles = [title.chapters copy];
- _uuid = [[NSUUID UUID] UUIDString];
+ CFUUIDRef theUUID = CFUUIDCreate(NULL);
+ CFStringRef string = CFUUIDCreateString(NULL, theUUID);
+ CFRelease(theUUID);
+ _uuid = CFBridgingRelease(string);
[self applyPreset:preset];
}
copy->_name = [_name copy];
copy->_presetName = [_presetName copy];
copy->_titleIdx = _titleIdx;
- copy->_uuid = [[NSUUID UUID] UUIDString];
+
+ CFUUIDRef theUUID = CFUUIDCreate(NULL);
+ CFStringRef string = CFUUIDCreateString(NULL, theUUID);
+ CFRelease(theUUID);
+ copy->_uuid = CFBridgingRelease(string);
copy->_fileURL = [_fileURL copy];
copy->_destURL = [_destURL copy];