KrakenDev


Here's to the crazy ones. The misfits. The troublemakers. The Swifters.

Viewing entries tagged
implicitly unwrapped optional

The Implicitly Unwrapped Optional & When To Use It

Since the advent of Swift, our behavior towards nil values have greatly changed. Swift brings type safety, and also works hard to prevent sending messages to nil by introducing Optionals. Implicitly unwrapped optionals are pretty new and behave just like optionals. However, they can be dangerous to your code if used incorrectly. So here, let me help with that!