How to view the type of a function call in XCode?

Using Swift in a Playground. I saw someone do it in a video tutorial, and it looks really helpful.

Screenshot - enter image description here

Is there a keyboard shortcut? Thank you!

1 answer

  • answered 2021-11-29 01:55 Zach Foster

    Turns out it is the autocomplete feature, but it has since changed. Similar results (viewing the type) can now be obtained by assigning the expression to a variable and inspecting it (option + click).

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum