Inicjalizator członkowski Swift
struct Person {
// properties with no default values
var name: String
var age: Int
}
// instance of Person with memberwise initializer
var person1 = Person(name: "Kyle", age: 19)
print("Name: \(person1.name) and Age: \( person1.age)")
SAMER SAEID