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
Post a Comment