There are seven ways to unwrap an optional in swift. They are :
Guard statement : safe.
Forced unwrapping : using “!” operator, unsafe.
Optional binding : safe.
Optional pattern : safe.
Nil coalescing operator : safe.
Implicitly unwrapped variable declaration : unsafe in many cases.
Optional chaining : safe.