Jan 8, 2024

Alt + Click on symbol on Xcode

Xcode isn’t a paragon of user experience most of the time, but the smoothness of this feature blew my mind.

I wanted to know if there’s a shortcut for getting the type of a variable. This is well-exposed functionality in most editors.

The shortcut is Alt + left click on symbol. What surprised me is how cool (and fast) the documentation popup is:

Smooth.
Smooth.

Find out more here.