Giving your own ids to Core Data objects -


i have points on map associated informations contained core data, link points on map associated info, have id each point, in entity, need id property, have read core data has it's own ids every managed object i'm wondering wether or not approach me directly use them or if should create own id system ?

if think should create own id system, how ?

thank you.

coredata not relational database , should avoid thinking own id’s. may need them syncing purposes external databases. more precise answer, should write how model looks.

[edited after comment] don't see need relations. let's sat have mappoint entity lat, , long properties. if there 1 user note, add property notes. if have many informations (many records) stored 1 mappoint need add notes entity properties note , mappoint , make relation between them. when insert new notes object coredata set mappoint property existing mappoint object (fetched after user tap).


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -