Swift Around the Web
I always forget about the
~= operator, but this is a great post about its use and how you can extend it to be even nicer! I didn't agree with the author reading through this until I saw the
if example at the end. Makes so much sense!
I'll be honest - I still get confused by the concept of an escaping vs non-escaping closer. And the default got switched from
@non-escaping (now deprecated) in Swift 3...
Love the simple examples for when a closure is
@escaping in this article!