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 trialJohnny Wright
643 Pointsprintln 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('')
1 Answer
Jens Hagfeldt
16,548 PointsHi Johnny
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.
print("Hello Johnny!")
I hope this helped, keep coding! / Jens
Johnny Wright
643 PointsJohnny Wright
643 Pointsthank you Jen! That was very helpful