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) Types Strings

about this challenge http://teamtreehouse.com/library/swift-basics/types/strings-2

This challenge is confusing. Do I need to create array list first or just simply write println("item1 \n item2 \n item3") although it doesn't work.

3 Answers

I had trouble with this as well. its very picky. dont put spaces between the items

println("Bread\nMilk\nHoney")

Thank you Stone!! This challenge was very frustrating...

yeah I was stuck for a while too.

Ha ha. I feel your pain.

Yes I was stuck also, I was like I KNOW i got the syntax right, it just don't want spaces lol.

Yeah, it made me crazy as hell too.

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

I've updated the challenge to make it more lenient. Sorry about that

No worries. Treehouse community is great. And thanks for providing excellent (as always) courses Amit!