Join Harrison Ferrone for an in-depth discussion in this video Start a new playground, part of Learning Swift 3 for Developers.
- [Harrison] Go ahead and fire up XCode.…I'm currently running version 8.2.1…if you want to follow along exactly.…Select get started with a playground.…Let's name our new playground…chapter one, underscore, Hello Swift.…Leave the platform to iOS and hit next.…I'm going to select my desktop…and create a new folder…to hold all my playgrounds for this course.…I'm going to name it Swift Three For Developers…and hit create.…
Make sure that our new folder is selected…and hit create one last time.…By default, XCode is going to give us a new playground…with a comment, a string variable,…and the UIKit framework already imported for us.…We need the UIKit framework…to handle our playground's infrastructure…but don't worry too much about it.…Let's delete the comment and the string…so we have a blank canvas to work with.…Before we get too far into the code,…let's take a quick look at the playground interface.…
The main area here on the left…with the white background is our code file…while the area on the right…that is slightly grayed out will show our output.…
- Starting a new playground
- Printing to the console
- Declaring variables
- Working with numbers
- Using strings
- Breaking down optionals
- Understanding closures
- Classes vs. structs
- Extensions and protocols
Skill Level Beginner
1. Hello Swift
2. Back to Basics: Variables and Operators
3. Collections, Tuples, and Enumerations
4. Working with Logic Flows
5. Only in Swift: Optionals
6. Functions, Closures, and Associated Types
7. Classes vs. Structs
8. Advanced Topics
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.