Why does UIWindow have two question marks (UIWindow?)

UIWindow is declared with two question marks -> UIWindow ?? (at least autocomplete says so) What does this mean? I'm pretty sure this is not a coalescing operator.

Possibly a bad choice of words ... The window property of the appDelegate is of type UIWindow ??.

+3
ios swift


source to share


No one has answered this question yet

See similar questions:

28
Why is the main window type double optional?
4
UIWindow? has no membership boundaries

or similar:

902
# pragma in Swift?
479
What does an exclamation point mean in Swift?
129
What is "expanded value" in Swift?
28
What does the proprietary exclamation mark mean in Swift?
nine
What does the Asterisk (*) value mean in the [[UIWindow keyWindow] _autolayoutTrace]] output
five
What is the purpose of UIWindow?
2
NSLog methods return question mark upsidedown
2
Why should an optional property return something?
1
swift if let statement with as? but why use a question mark?
0
Why are there two UIWindows in my application and why is the first one hidden?



All Articles
Loading...
X
Show
Funny
Dev
Pics