Welcome to the Treehouse Community
Looking to learn something new?
Keyboard Shortcut in Xcode
Hi. I have a question about a keyboard shortcut I see Pasan using in Xcode on the iOS courses.
When creating an instance of something such as a class or a struct, after typing the object name and then opening a bracket, the object's variables prepopulate as a hint. For example...
person = Person(firstName: "Joe", lastName: "Bloggs")
After typing "Joe", Pasan seems to jump right over to the area to type "Bloggs". At present I manually click on the area to type "Joe" and then click again into the area to type "Bloggs". Does anyone know what the keyboard shorcut to jump to the next variable is?
I know it's a small query but I cannot fathom it out!
Jason AndersTreehouse Moderator 145,624 Points
When you have the auto-complete pop up like that. The
Tab button moves to the next expected field (as in your example).
Keep Coding! :)
Darn it, the only one I didn't try!
Thank you Jason. :)