Inicializador Swift
class Wall {
...
// create an initializer
init() {
// perform initialization
...
}
}
SAMER SAEID
class Wall {
...
// create an initializer
init() {
// perform initialization
...
}
}
class Bike {
var name = ""
}
...
// create object
var bike = Bike()