Something About Optional Assignment
We all know that in Swift
, optional chaining
is an important feature that can help us write concise and elegant code.
However, the optional assignment
derived from the optional chain may have some strange phenomena when used.