So I have a struct set up for numerous instances i plan on putting in my array.
anyways, in my struct
I have
"var title: String
Var type: String
var pic: UIImageView"
and in my instance i Keep getting an error revolving around the image portion of the struct.
This is my code in the view controller btw. let restaurant3 = restaurantmodel(restitle: "space dungeon", restype: "cotton candy", resimage: "space.png")
Am i setting up my "pic" variable wrong?
thanks for any help.... beginning to learn swift...
anyways, in my struct
I have
"var title: String
Var type: String
var pic: UIImageView"
and in my instance i Keep getting an error revolving around the image portion of the struct.
This is my code in the view controller btw. let restaurant3 = restaurantmodel(restitle: "space dungeon", restype: "cotton candy", resimage: "space.png")
Am i setting up my "pic" variable wrong?
thanks for any help.... beginning to learn swift...