Avatar
let.swift struct Foo { static let bar: Int = 42 } print(Foo.bar) var.swift struct Foo { static var bar: Int { return 42 } } print(Foo.bar)