ylliX - Online Advertising Network

Throwing and asynchronous Swift properties | Swift by Sundell

Swift 5.5 introduces a new concept called “effectful read-only properties”, which essentially means that computed properties can now utilize control flow mechanisms like errors and async operations when computing their values. Let’s start by taking a look at how computed properties can now throw errors using Swift’s standard error handling mechanism. As an example, let’s […]

Sponsor: ViRE | Swift by Sundell

Thanks a lot to the team behind the visual regular expressions editor ViRE for sponsoring Swift by Sundell over the past two weeks, enabling me to keep delivering a continuous stream of Swift articles completely for free. I’ll be honest, I’ve never been a huge fan of working with regular expressions as raw strings. I […]