Implicitly Unwrapped Optionals

As an ObjC programmer, I despised the introduction of Optionals in Swift. However, I jumped on the Swift bandwagon on Day 1. So I understood the basic concepts: If a value may at some point not have a value, declare it as optional. If a value has been declared optional, you must test its contents. You can test with if == nil You can if let test Or you can force unwrap I also read about implicitly unwrapped optionals but I confused them with force-unwrapping.  It also threw me off about when and what to use them for. Recently I’ve been working on an app that involves a dance between… Read More

Continue Reading