Re: On NSIncrementalStore UUID Uniqueness

2017-01-10 Thread Saagar Jha
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 wrote: > > UUID means Universally unique

Re: On NSIncrementalStore UUID Uniqueness

2017-01-10 Thread Jean-Daniel
UUID means Universally unique identifier and it must be unique: 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 a écrit : > >

Re: On NSPersistentStore Modeling

2017-01-10 Thread Keary Suska
> On Jan 10, 2017, at 4:42 AM, Daryle Walker wrote: > > I read about store coordinators and managed contexts using Core Data models > (I.e. "momd" files). But persistent store subclasses use them too right? Not exactly. The store will need to know how to translate certain

On NSPersistentStore Modeling

2017-01-10 Thread Daryle Walker
I read about store coordinators and managed contexts using Core Data models (I.e. "momd" files). But persistent store subclasses use them too right? From looking at the docs for the atomic and incremental stores, their internal scheme have to match a specific model too; they can't support

On NSIncrementalStore UUID Uniqueness

2017-01-10 Thread Daryle Walker
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