Programming in Swift: Fundamentals
Oct 19 2021 · Swift 5.5, iOS 15, Xcode 13
Part 1: Core Concepts
02. Swift Playgrounds & Comments
Leave a rating/review
Notes: 02. Swift Playgrounds & Comments
Update Notes: The student materials have been reviewed and are updated as of October 2021.
Heads up... You've reached locked video content where the transcript will be shown astext.
If you finished building the Bull’s Eye game in Your First iOS App, then you’re already familiar with using Swift in Xcode’s standard editor. Xcode has another interface called “Playgrounds” that you’ll be using in this course, so let’s get familiar with how they work.
var welcomeMessage = ...
let goodbyeMessage = "See you soon!"
// The code below prints out a goodbye message
// Yet another comment.
/* This is a comment spread out over a few lines also, a haiku!
//let goodbyeMessage = "See you soon!"