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


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: enter image description here Or use autocomplete to show you the type:enter image description here



+2


source







All Articles