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

Daichi Kuriki
Daichi Kuriki
14,925 Points

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

Stone Preston
Stone Preston
42,016 Points

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

println("Bread\nMilk\nHoney")
Daichi Kuriki
Daichi Kuriki
14,925 Points

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

Stone Preston
Stone Preston
42,016 Points

yeah I was stuck for a while too.

Daichi Kuriki
Daichi Kuriki
14,925 Points

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.

Daichi Kuriki
Daichi Kuriki
14,925 Points

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

Daichi Kuriki
Daichi Kuriki
14,925 Points

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