Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Swift 5 Essential Training

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Gain hands-on experience with Swift 5. Learn the fundamentals of this popular programming language, so you can develop your own apps and games for macOS and iOS.

Syllabus

Introduction
  • Begin an adventure with Swift 5
  • Quest accepted: What you should know
1. Getting Started
  • Swift retrospective
  • Getting Xcode
  • Reviewing the exercise files
2. Getting to Know Your Data
  • The quest begins: Variables
  • Variables and constants
  • Type safety and inference
  • Logging and commenting
  • Swift operators
  • Understanding strings
  • Working with strings
  • Type conversions
  • Booleans and logical operators
  • Introducing optionals
  • Accessing documentation
  • Challenge: Player stats
  • Solution: Player stats
3. Working with Collections
  • Gathering inventory with collections
  • Swift arrays
  • Core array methods
  • Swift dictionaries
  • Core dictionary methods
  • Working with sets
  • Core set methods
  • Swift tuples
  • Challenge: Merchant shop
  • Solution: Merchant shop
4. Application Control Flow
  • Controlling your destiny
  • The if statement
  • Unwrapping optionals
  • Using for-in loops
  • While loops
  • The switch statement
  • The guard statement
  • Challenge: Game logic
  • Solution: Game logic
5. The Wide World of Functions
  • Leveling the playing field
  • Basic functions
  • Overloading functions
  • Complex functions
  • Function types
  • Understanding closures
  • Using closures
  • Type aliasing
  • Challenge: Battlegrounds
  • Solution: Battlegrounds
6. Classes, Structs, and Beyond
  • Populating the game world
  • Value vs. reference types
  • Basic Swift classes
  • Access modifiers and properties
  • Subclassing in Swift
  • Basic Swift structs
  • Chaining optionals
  • Challenge: Inventory system
  • Solution: Inventory system
7. Leveling Up with Enums, Protocols, and Errors
  • Final stage, final boss
  • Swift enumerations
  • Raw and associated values
  • Introducing protocols
  • Using extensions
  • Throwing errors
  • Handling errors
  • Challenge: Battle actions
  • Solution: Battle actions
Conclusion
  • Next steps

Taught by

Harrison Ferrone

Reviews

4.7 rating at LinkedIn Learning based on 942 ratings

Start your review of Swift 5 Essential Training

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.