This may seem stupid, but I still couldn\'t figure out how to mark a attribute as a primary key in the xcdatamodel file. My persistent storage is sqlite file. Can anyone hel
Without hacking NSManagedObjectID you can perform a fast check for your attribute before manage your remote data collection.
I've made an utility method, check it here