A quick look at Swift variable type in XCode
Is there a shortcut that will allow me to quickly view the type of any variable in Swift in XCode? Alt-Click returns "No Quick Help". The type of inference is awesome, but makes life difficult without tools like these ...
+3
Advecticity
source
to share
1 answer
Or use Alt-click to display a variable declaration that displays the type in the top-right order like this:
Or use autocomplete to show you the type:
+2
Ian
source
to share