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 Swift Basics (retired) Collections Modifying an Array

Link to Documentation

Amit said we don't need to memorise those code 100%, because there's a link for documentation, but where's the link? Thank you.

2 Answers

Alexander Batalov
Alexander Batalov
21,887 Points

If you hold 'Alt' and hover mouse over your array you should see pointer as ' ? ' so when clicked it will follow you to documentation for corresponding method or property.

Also Google works perfectly :) Ok, google "swift array" and the first link is:

https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/CollectionTypes.html

You mean hover on my array in Xcode? Sorry, I'm new to programming T_T I don't really get it.

Alexander Batalov
Alexander Batalov
21,887 Points

Yes, exactly. No worries mate, we are all new to programming here :) Actually sorry for my English if there is some misunderstandings in my answer, it's not my first language.