ios - Easiest way to store an array to Core Data in Swift? -


i have array values. how can save core data in easiest way? know has managedobjectcontexts , have core data added framework , set entity. tried following tutorial found hard generalize case.

also, have this:

var coordinates: [nsmanagedobject] = [] 

but want save this:

var markersarray: array<cllocationcoordinate2d> = [] 

i believe not possible not nsmanagedobject? how achieve that?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

Command prompt result in label. Python 2.7 -