Code Clinic: Swift

Code Clinic: Swift

2h 23mIntermediate2018-06-12

Authors

Todd Perkins

Todd Perkins

Developer specializing in iOS

Course details

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.

Learning objectives
Building a database
Querying data
Calculating statistics with Swift methods
Accessing and displaying geolocation data
Accessing peripherals
Detecting facial features and identities
Creating real-time dashboards

Skills covered

SwiftAppleLimited SeriesProgramming LanguagesSoftware Development

Concepts

Introduction

  • Welcome
  • What you should know
  • How to use the exercise files
  • Getting the most from Code Clinic

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

Problem 2 - Where Am I

  • Intro - Where am I
  • Solution overview
  • View the existing files
  • View the ipinfo.io API
  • Access geolocation
  • Show geolocation on a map

Problem 3 - Eight Queens

  • Intro - Eight queens
  • Solution overview
  • View the existing files
  • Find solutions
  • Display solutions

Problem 4 - Accessing Peripherals

  • Intro - Accessing peripherals
  • Solution overview
  • Add AudioKit
  • Make sounds

Problem 5 - Facial Recognition

  • Intro - Facial recognition
  • Solution overview
  • View the starting files
  • Request facial data
  • Draw face rectangles
  • Draw facial features

Problem 6 - Real-Time Information Dashboard

  • Intro - Real-time information dashboard
  • Solution overview
  • View the starting files
  • Create the dashboard app
80,000 Toman