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

LinkedIn Learning

Code Clinic: Swift

via LinkedIn Learning


Practice coding with Swift. Take on six Swift programming challenges and compare them with other languages in the Code Clinic series.

Practice coding with Swift, the programming language for iOS and Mac. Code Clinic is a series of courses that solve the same problems using different programming languages. It gives developers a chance to experiment with new platforms and compare their strengths. In this course, Todd Perkins takes you through six different challenges and provides an overview of his solutions in Swift. Challenges cover topics such as statistical analysis, geolocation, facial recognition, and accessing peripheral devices. Each lesson provides practical skills, valuable design patterns, and code snippets you can use in your own projects.

Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, Java, PHP, Python, and Ruby.


  • Welcome
  • What you should know
  • How to use the exercise files
  • Getting the most from Code Clinic
1. Problem 1: Weather Statistics
  • Intro: The weather at Pond Oreille
  • Solution overview
  • View the existing files
  • Realm setup
  • Build the database
  • Import data
  • Query the data
  • Write mean and median methods
2. Problem 2: Where Am I?
  • Intro: Where am I?
  • Solution overview
  • View the existing files
  • View the API
  • Access geolocation
  • Show geolocation on a map
3. Problem 3: Eight Queens
  • Intro: Eight queens
  • Solution overview
  • View the existing files
  • Find solutions
  • Display solutions
4. Problem 4: Accessing Peripherals
  • Intro: Accessing peripherals
  • Solution overview
  • Add AudioKit
  • Make sounds
5. Problem 5: Facial Recognition
  • Intro: Facial recognition
  • Solution overview
  • View the starting files
  • Request facial data
  • Draw face rectangles
  • Draw facial features
6. Problem 6: Real-Time Information Dashboard
  • Intro: Real-time information dashboard
  • Solution overview
  • View the starting files
  • Create the dashboard app

Taught by

Todd Perkins

Related Courses


Start your review of Code Clinic: Swift

Never Stop Learning!

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

Sign up for free