Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

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!

Clint.

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey there,

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! :dizzy: :)

Darn it, the only one I didn't try!

Thank you Jason. :)