
103: “What’s new in Swift 5.5”, with special guest Antoine van der Lee
Swift by Sundell
00:00
Using a Read Only Property in Swift?
Swift now has effectful read only properties. This means that if you define property which returns a value, you can also make it throwable. Just like you have methods that trow, you will use the try key word before accessing property. In the future, non read only properties will also be able to have a throwing option.
Transcript
Play full episode