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!
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
Johnny Wright643 Points
println is not an option on my playground. Any answers to why that is. thank you
For some reason when I try to use println it pops up as an errro. SAYS: println() is unavailable use print('')
Jens Hagfeldt16,548 Points
If you have a newer version of X-code than what is used in the video some things may have changed. X-codes current version uses Swift 2.1 in which the println() statement has been replaced by print(). I have included the syntax for writing a print line in Swift 2.1 down here below.
I hope this helped, keep coding! / Jens