0
Can we write the data models in the viewcontroller.swift file itself?
1 Odpowiedź
0
yes, you can. Just define same as your defining in your model class.
class ModelName{
var idx = ""
}
But this class will not access out side of your view controller.