To remember where to put the question mark and colon in a Swift ternary expression, try the mnemonic What? True : False.
From Scott Michaud, via Paul 5/10
To remember where to put the question mark and colon in a Swift ternary expression, try the mnemonic What? True : False.
From Scott Michaud, via Paul 5/10