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

can't understand what this all mean

can someone step by step teach me

println.swift
let language = "Swift"

println "LearningSwift" 

1 Answer

jon kelson
jon kelson
5,149 Points

Hi all that's happening here is your creating a constant which is called language which can't be changed as its (let) and not (var) which would be a variable and can be changed .

You are then assigning a name "swift" to that constant.

You are then writing another command println which is printing a string "LearningSwift"

Hope that helps