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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -