I know what \"?\" and \"!\" mean when I declare variables in Swift. But what do they mean when using these variables? For example, in this code:
var
When you are using ! and the variable is nil it will trigger run time error but if use ? it will fail gracefully. More detail information in apple document
!
nil
?