Nil Coalescing in Swift
Nil Coalescing can come in handy when you have to transfer value from an optional to a required (non-optional). Though it can be easily solved using != nil checks and using ternary operator but in swift we have a much graceful option Nil Coalescing. Nil Coalescing provides us with option to return a default value when … Read more