for example. I have two array
let array1 = ["one","two","three"]
let array2 = ["one","two","three"]
my datamodel is
struct datamodel: Hashable{
var image:String
var name:String
}
how can I merge two arrays into the model array
dataarray = [datamodel(image:array1[0],name:array2[0])]