Re: On NSIncrementalStore UUID Uniqueness
Re: On NSIncrementalStore UUID Uniqueness
- Subject: Re: On NSIncrementalStore UUID Uniqueness
- From: Saagar Jha <email@hidden>
- Date: Tue, 10 Jan 2017 16:16:12 -0800
Small quibble: UUIDs are not guaranteed to be unique. It's just extremely likely they will be, and they be sufficient for almost all applications, including this one.
Saagar Jha
> On Jan 10, 2017, at 2:00 PM, Jean-Daniel <email@hidden> wrote:
>
> 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
_______________________________________________
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