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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -