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

jeff saidef
jeff saidef
696 Points

2:43 how did you specify each point's name in the array ?

when you print the result of coordinatePoint.points() the result of the appended array was [{x-1,y-1},{x-1,y0},{x-1,y1}...etc] before that i thought the result would be [-1,-1,-1,0,1] so how could you specify "x" or "y" before each point value in the array as well as the curly parentheses ? i was looking for string interpolation but i couldn't find then i thought to ask this question