Re: On NSIncrementalStore UUID Uniqueness
Re: On NSIncrementalStore UUID Uniqueness
- Subject: Re: On NSIncrementalStore UUID Uniqueness
- From: Jean-Daniel <email@hidden>
- Date: Tue, 10 Jan 2017 23:00:03 +0100
UUID means Universally unique identifier and it must be unique: https://en.wikipedia.org/wiki/UUID <https://en.wikipedia.org/wiki/UUID>
To generate an UUID, use a standard system function (CFUUID, NSUUID, libuuid, …)
> Le 10 janv. 2017 à 11:36, Daryle Walker <email@hidden> a écrit :
>
> Been reading up on NSIncrementalStore, including its guide. I think I grok it more now. When initializing an instance, you're supposed to submit an UUID. Can a single value be used for all instances, or is it supposed to unique per instance? If the latter, and the source data doesn't already have a UUID field, do you to take heroic measures to ensure uniqueness? Or is a casual effort enough?
>
> Sent from my iPhone
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden