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

Soccer League Collection Type, to begin project.

I'm afraid to say I'm a bit stuck right at the beginning of this project. I have researched ways to create "multiple value" dictionaries, but am aware that this is not something we have been taught yet and sticking to what we have been taught is key to this project. Am I right to begin with an array for each data type (name, height, previous experience, guardian/s) and use index numbers and count to create logic, loops etc? Or should I be looking at a more complex way to group together all data in one single collection, i.e a dictionary with multiple values? Any help on getting started would be much appreciated :)

Further to this question, I have began by creating a single dictionary for each player of type [String: String] for all data. I have then created a single array containing all 18 player dictionaries. Hopefully I can progress with this!