Pebellslearn by building
RoadmapsMatrixCoursesSandboxSign in

Course details

Ios

Learn the ground floor of iOS development: the Swift language, the layers of the iOS platform, the core ideas every app relies on, the Xcode workspace, and how UIKit apps start, show screens and respond. One small hiking-journal app, TrailLog, runs through every lesson.

Ready to learn6 sections · 24 lessons
Start learning

Course curriculum

Choosing a Language3 lessons

Read enough Objective-C to follow older code, understand why Apple created Swift and what it fixes, and connect the two languages inside one app.

  1. Objective-C Basics12 min
  2. History and Why Swift?12 min
  3. Interoperability with Swift12 min
Swift Basics4 lessons

Declare values with let and var, handle missing data with optionals, store data in arrays, dictionaries and sets, and package logic in functions and closures — all on TrailLog's hike data.

  1. Constants, Variables and Types12 min
  2. Optionals12 min
  3. Collections and Control Flow12 min
  4. Functions and Closures12 min
iOS Architecture3 lessons

See iOS as four layers — Core OS, Core Services, Media and Cocoa Touch — and learn to place any TrailLog feature in the right one, from saving data to filtering photos to handling taps.

  1. Core OS and Core Services12 min
  2. The Media Layer12 min
  3. Cocoa Touch12 min
Core Programming Concepts5 lessons

Model data with structs, classes and protocols, transform it with map, filter and reduce, keep memory healthy with ARC, handle failures with throws and catch, and keep the app responsive with async/await.

  1. Classes, Structs and Protocols12 min
  2. Functional Programming in Swift12 min
  3. Memory Management with ARC12 min
  4. Error Handling12 min
  5. Concurrency: GCD and async/await12 min
Xcode4 lessons

Install Xcode and create the TrailLog project with a sensible bundle identifier and Git, learn the shape of the Xcode window, know what each generated file does, and find bugs with breakpoints and stepping.

  1. Installing Xcode and Starting a Project12 min
  2. The Xcode Window12 min
  3. Project Files and Groups12 min
  4. Debugging with Breakpoints12 min
UIKit5 lessons

Build screens as trees of views, follow an app from launch to background, use view controller lifecycle methods at the right moments, connect storyboards to code with outlets and actions, and see how UIKit and SwiftUI fit together.

  1. Views and the View Hierarchy12 min
  2. The App Lifecycle12 min
  3. The View Controller Lifecycle12 min
  4. Storyboards, Outlets and Actions12 min
  5. UIKit and SwiftUI12 min