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

Extra Credit: an array of dictionaries (is that correct?)

let myMorningPlaylist = [
                ["Title": "Around The World", "Artist": "Red Hot Chilli Peppers", "Album": "Californication"],
                ["Title": "See You Leave", "Artist": "RJD2", "Album": "STS x RJD2"],
                ["Title": "Open", "Artist": "Rhye", "Album": "Woman"],
                ["Title": "Could Well Be In", "Artist": "The Streets", "Album": "A Grand Don't Come For Free"],
                ["Title": "Bodhisattva Vow", "Artist": "Beastie Boys", "Album": "Ill Communication"],
                ["Title": "Come Over", "Artist": "Estelle", "Album": "Shine"],
                ["Title": "L.A. Woman", "Artist": "The Doors", "Album": "L.A. Woman"],
                ["Title": "Everything Is Everything", "Artist": "Lauryn Hill", "Album": "The Miseducation of Lauryn Hill"],
                ["Title": "Doo Wop", "Artist": "Lauryn Hill", "Album": "The Miseducation of Lauryn Hill"],
                ["Title": "Bad Girls", "Artist": "MIA", "Album": "Matangi"]
]

1 Answer

If your questions is "Is this a valid Array of Dictionaries", the answer appears to be yes

Thanks. The question is - is it the right (optimal) solution for this task?