[swift-evolution] [proposal] Allow "let" for computed properties which only reference immutable data
Andru Felipe Zuniga
andruzuniga at icloud.com
Mon May 16 00:40:23 CDT 2016
It would be useful for clarification of a computed property being constant in extensions. For example:
extension SKSpriteNode {
static let type: String {
return “Sprite”
}
}
Andru
More information about the swift-evolution
mailing list