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

todo.insert("Learn iOS", atIndex: 1) says I have the wrong value in it...?

Anyone have an explanation? It works in xcode.

1 Answer

Hi Yousif,

Maybe try refreshing the challenge and trying again. The code that you have passes for me.

I am having the same problem, tried your suggestion with no luck...going to skip this code challenge for now and come back to it later today and hope it's fixed.

Hi Francisco,

You can post your code here if you're still stuck.

I tried the challenge again just now and it is still passing for me.