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

Help with Challenge Task For Modifying Arrays

I keep trying and trying but I can't get it right what should I be doing?

TASK:

We need to append a few more items to our todo array. Append the following strings: "Debug App", "Fix Bugs".

This is what I put: isn't it right?

arrays.swift
var todo = ["Learn Swift", "Build App", "Deploy App"]
todo.append ("Debug App", "Fix Bugs")

2 Answers

You need to put them on two separate lines

todo.append("Debug App") todo.append("Fix Bugs")

Thanks Man!

Thanks Man!

Hi Kyle You own premium account right? Is it worth getting? I wan't to be able to make iPhone games and publish them to the apps store. Will it work for me?

Hi, I actually just have the standard account. I'm not quite sure what additional features the premium account offers. Have you looked into it?