[swift-evolution] [proposal] Allow "let" for computed properties which only reference immutable data

Andru Felipe Zuniga andruzuniga at me.com
Fri May 13 02:44:57 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