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 Printing Results

Matthew Jobraal
Matthew Jobraal
429 Points

Hello, I'm having trouble with this code challenge. Whenever I type "println", the editor won't recognize the function

The function "println" stays in blue, which I'm assuming it means its an invalid command. What am I doing wrong?

println.swift
let language = "Swift"

1 Answer

Chris Shaw
Chris Shaw
26,676 Points

Hi Matthew,

The println function within the code challenge should be a blueish colour, so the below code should work fine.

println("Learning \(language)")

Hope that helps.