How to write minimum on URL declarations in Swift? Hint: ExpressibleByStringLiteral

Subscribe to my newsletter and never miss my upcoming articles

Hey guys Leo here,

Today I learned with this tweet : twitter.com/aslanyanhaik/status/12529058314..

This is a great way to abstract not only the unwrapping from your code, but it's way more pleasant to read.

And If you are curious, there are

ExpressibleByStringInterpolation

too if you need that type of control.

force unwrap.jpeg

No Comments Yet