DEV Community

Discussion on: Properties in Swift: How to Avoid Shooting Yourself in the Foot

Collapse
 
eonist profile image
Eon • Edited

I store all my constants as static let in enum hierarchies. Lazy var that point to a computed prop for all else. Great article ✌️