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 An Introduction to Swift Programming Working With Variables

Adhiraj Pun
Adhiraj Pun
32 Points

how do i declare a variable?

how do i declare a variable and use a string?

variables.swift
// Enter your code below

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey There. Welcome to Treehouse

That is discussed in detail in the Video starting at the 25 second mark. You should review the video on variables before moving on, as this will be a huge part of the following lessons, so a strong understanding of the basics will be integral to the rest of the course.

Keep Coding! :) :dizzy: