CBLIncrementalStore is amazing. But there is something I see as a 
limitation. To generate unique IDs I noticed that you use 
[NSManagedObjectID 
URIRepresentation]. I'm just wondering:
1. since we don't have any control over it, is it truly unique in any 
situation ? 
2. the generated string's length for the ID is 59. Is too long in terms of 
memory on the server or not at all ? (I saw the shorter the better in terms 
of memory footprint)
3. Would prefixing it with the type of the object be a good practice or not 
? (ex: person_17162-1817DHDHD-XXXX...) Is is doable ?
4. The Category is on NSManagedObjectID, wouldn't it be more flexible if it 
was on NSManagedObject ? (in order to generate our own uniqueIDs)

Thanks :)

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/7d1305a5-d487-4c6b-a9d5-609ca0970479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to