Why I can’t use let in protocol in Swift?
“A var in a protocol with only get isn’t just a let?” No. A let indicates a constant. But that is not the case here. Consider the following: protocol SomeProtocol { var someProperty: String { get } } class SomeClass : SomeProtocol { var someProperty: String = “” func cla () { someProperty = “asd” … Read more