I am trying to make an app that has to store some values, but i don't know how to do it.
struct mat {
var a: String
var b: [Int]
var c: Double
}
var subj = [mat]()
I had a look at CoreData but i didn't understand it, can it store arrays?
this is what i would like to save and have access to after the app is reloaded.
How can i save the array of structures? or each individual structure? or can i do it some other way?
P.S. I don't have a lot of experience in coding with swift