I'm going to generate CFUUID objects (if there is a better way to create a GUID in iOS, let me know) that need to be saved using Core Data. Core Data does not have a GUID data type. What is the preferred type? It looks like CFUUID objects are easily converted to and from a string, which is why I think so. Another option might be binary information.
Another consideration is that these GUIDs will come in and out of JSON objects (using the built-in JSON serialization for JSON through NSJSONSerialization).
source share