3 ms·
Yeah `self.` is implicit. In Swift: struct S { var string: String func doSomething() { // These two lines are equivalent. print(string)
by mlex 8y ago
Yeah `self.` is implicit. In Swift:
struct S {
var string: String
func doSomething() {
// These two lines are equivalent.
print(string)
print(self.string)
}
}