[swift-evolution] SE-0030 Property behaviours

Brent Royal-Gordon brent at architechies.com
Thu Feb 25 15:30:45 CST 2016


> What do we do with read-only computed properties? Defaulting set accessor to fatalError() is not really a solution.

Behaviors already support read-only getters—you just omit the set {} block.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list