Courses / Mobile development / SwiftUI Fundamentals

₹99Self-paced

SwiftUI Fundamentals

Build a SwiftUI app with observable state, navigation, async data, persistence and accessibility checks, demonstrated on a Simulator or device.

  • Who it's for. Learners who finished Swift Programming and have access to a Mac with Xcode.
  • Before you start. Completion of Swift Programming or equivalent: you can write structs, enums, closures, optionals and protocols, and run swift test on a small package.
  • 28 to 48 hours of study with practice
  • 8 modules, 48 lessons
  • 3 guided projects and a final project

What you'll learn

  • Compose screens from small value-type views using stacks, modifiers and subviews, and verify them in previews and the Simulator.
  • Present collections and forms with stable identity, validation and derived lists.
  • Load asynchronous data through protocols and loading-state enums with cancellation and retry.
  • Persist state with settings storage, JSON files and SwiftData, and prove it survives a restart.
  • Test with unit tests and fakes, UI tests and preview evidence, and understand device signing and distribution.

Skills you'll gain

  • SwiftUI composition
  • State
  • bindings
  • Lists
  • forms
  • Navigation
  • Async data
  • Persistence
  • Accessibility
  • Testing
  • packaging

Tools you'll use

  • SwiftUI
  • Xcode
  • Swift
  • SwiftData
  • Codable
  • XCTest UI tests

Details to know

  • Certificate on completionIssued after your final project is reviewed
  • 8 module checkpointsA quiz and a practical task close each module
  • Self-pacedStudy any time; your progress is saved

How every lesson works

Each lesson follows the same four steps, so you always know what comes next.

  1. 01

    Watch & Learn

    A short animated video explains one idea at a time.

  2. 02

    Guided Practice

    Work through an example step by step and check the result.

  3. 03

    Quiz & Challenge

    Short questions check the idea has landed before you move on.

  4. 04

    Mini Project

    Build something useful from a project brief.

Learn at your own pace

This is a self-paced course. There are no live classes and no fixed timetable.

  • Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
  • Pick up where you left offYour progress is saved to your account.
  • Ask when you're stuckUse Ask Mentor inside the learning platform.

Your path in 3 phases

Each phase ends with something you have built and checked.

  1. 01

    Modules 1 to 3

    Habit list with validated form

    Covers SwiftUI composition, State and bindings and Lists and forms. Display collections and collect input: identifiable data, stable identity, row actions, forms bound to draft values, validation and derived views.

    You build: Habit list with validated form: Habit row subview and a counter-style interaction with preview HabitCore package with state struct, store tests and stable ids.

  2. 02

    Modules 4 to 5

    Navigable habit app with async inspiration feed

    Move between screens with NavigationStack, value-based destinations, path state, modelled routes, sheets and tabs.

    You build: Navigable habit app with async inspiration feed: Tabs, value-based detail and return-to-root Tested Route enum and sheet-based form.

  3. 03

    Modules 6 to 8

    A SwiftUI habit-tracking app with observable state persistence and accessibility checks, demonstrated live on a Simulator or device.

    Covers Persistence, Accessibility and Testing and packaging.

    You build: Persistent, accessible, packaged habit app: Settings and JSON persistence with restart protocol Accessibility audit with before/after findings.

Full curriculum

8 modules and 48 lessons, 28 to 48 hours of study

01SwiftUI composition6 lessons, 3 to 4 hours

Lessons

  • Creating an app project and reading the generated App struct
  • Views as value-type descriptions: the body property
  • Stacks: VStack, HStack and ZStack with alignment and spacing
  • Modifiers and why their order matters
  • Splitting a screen into subviews and previews with sample data
  • Layout negotiation: proposed size, Spacer, frame and fixed size

After this module you can

  • Create an iOS App project in Xcode, run it in the Simulator and point to the App struct, WindowGroup and root view in the generated files.
  • Write a struct conforming to View, explain that body returns a description rather than drawing, and predict why a view is recreated often.
  • Predict how a parent's proposed size, Spacer, frame and fixedSize affect a child's final size and position.
02State and bindings6 lessons, 3 to 4 hours

Lessons

  • @State: view-local value that triggers a re-render
  • Modelling screen state as a plain struct and testing transitions
  • @Binding: giving a child write access to a parent's state
  • Observable model classes shared across views
  • Unit-testing an observable model without any view
  • Environment values and injecting a shared model

After this module you can

  • Use @State to drive a counter-style interaction and explain why a plain var in a view struct cannot do that.
  • Move screen logic into a plain Swift struct with mutating functions and verify transitions with swift test.
  • Read system environment values and inject an app-wide model through the environment instead of passing it through every initialiser.
03Lists and forms6 lessons, 3 to 4 hours

Lessons

  • List and ForEach with Identifiable data
  • Stable identity: why ids must survive reordering and deletion
  • Row actions: swipe to delete, move and the model mutation behind them
  • Forms with TextField, Toggle, Stepper and Picker bound to a draft
  • Validating form input in the model and disabling Save
  • Sorting, filtering and searching lists with derived values

After this module you can

  • Display an array of Identifiable values in a List and distinguish List, ForEach and ScrollView.
  • Show with tests that a model's ids stay stable across insert, delete and reorder, and explain what goes wrong with index-based identity.
  • Compute a displayed list from stored data, a sort key and a filter, and test the derivation.
04Navigation6 lessons, 3 to 4 hours

Lessons

  • NavigationStack and NavigationLink to a detail screen
  • Value-based navigation with navigationDestination(for:)
  • Path as state: programmatic push, pop and pop-to-root
  • Modelling routes as an enum and testing navigation decisions
  • Sheets, alerts and confirmation dialogs driven by state
  • TabView and independent navigation per tab

After this module you can

  • Embed a list in a NavigationStack and push a detail view with a NavigationLink.
  • Navigate by pushing Hashable values and resolve them centrally with navigationDestination.
  • Create a TabView with separate NavigationStacks and explain why each tab keeps its own path.
05Async data6 lessons, 3 to 4 hours

Lessons

  • Codable models and decoding JSON fixtures
  • async/await calls with URLSession behind a protocol
  • Loading state as an enum: idle, loading, loaded and failed
  • Starting work from a view with .task and handling cancellation
  • Presenting errors and offering retry
  • Loading remote images with placeholders and failure states

After this module you can

  • Decode a JSON fixture into a Codable struct, map differing key names and report the decoding error for a malformed field.
  • Write an async function that fetches data through a protocol so tests can substitute a fake.
  • Display a remote image with a placeholder and a failure fallback, and decide when to cache.
06Persistence6 lessons, 3 to 4 hours

Lessons

  • Choosing storage: AppStorage and UserDefaults for settings
  • Saving Codable models as JSON in the documents directory
  • Loading at launch: missing, corrupt and older files
  • SwiftData model and container basics
  • Querying with @Query: sorting, predicates and counts
  • Proving persistence: restart evidence and data reset

After this module you can

  • Persist a small setting with AppStorage and say what kinds of data belong in UserDefaults and what do not.
  • Encode the habit store to a JSON file at a computed path and read it back in a test.
  • Produce a repeatable restart test: create data, terminate, relaunch and capture identical state; also reset data.
07Accessibility6 lessons, 3 to 4 hours

Lessons

  • Accessibility elements: labels, values, hints and traits
  • VoiceOver navigation and the Accessibility Inspector audit
  • Dynamic Type and layouts that survive large text
  • Colour contrast and not relying on colour alone
  • Reduce Motion, Bold Text and other user settings
  • Touch targets, grouping and custom actions

After this module you can

  • Give controls meaningful labels, values, hints and traits and say what VoiceOver would announce.
  • Navigate a screen with VoiceOver on a device or the Accessibility Inspector and fix reported issues.
  • Enlarge small targets, combine elements into one accessibility element and add custom actions.
08Testing and packaging6 lessons, 3 to 4 hours

Lessons

  • Structuring the app: logic in a Swift package, thin app target
  • Test doubles: fakes for network, storage and time
  • UI tests: launching the app and querying elements
  • Previews and screenshots as regression evidence
  • Signing, running on a device with a free Apple ID and archiving
  • Distribution paths: TestFlight, App Store review and the final demo

After this module you can

  • Split model and logic into a Swift package with its own tests and have the app depend on it.
  • Replace the network, file system and clock with fakes to test failure paths deterministically.
  • Explain the distribution options and prepare the trainer-reviewed demo of the finished app.

What you'll build

3 guided projects along the way, then a final project.

  • Habit list with validated form

    after module 3
  • Navigable habit app with async inspiration feed

    after module 5
  • Persistent, accessible, packaged habit app

    after module 8

Final project

A SwiftUI habit-tracking app with observable state persistence and accessibility checks, demonstrated live on a Simulator or device.. Options: Habit tracker; Reading list tracker; Shared-expense log.

What you submit

Source or project archive submission with setup instructions (Mac, Xcode, chosen version once selected) Functional checks: add, edit, delete, validation and a derived view with unit tests Error handling for invalid input and corrupt or missing stored data.

How it's reviewed

Trainer review against a weighted rubric: W e i g h t e d : w o r k i n g b e h a v i o u r 3 0 % , s t a t e / m o d e l c o r r e c t n e s s a n d t e s t s 2 5 % , p e r s i s t e n c e e v i d e n c e 1 5 % , a c c e s s i b i l i t y e v i d e n c e 2 0 %.

Where you'll use it

  • Build a list and form screen with validation and a single source of truth for its data.
  • Audit a screen with VoiceOver and large text and fix the issues found.

Roles that use these skills

  • iOS developer
  • SwiftUI developer
  • Mobile developer

Earn the certificate by building, not watching

  1. Complete the lessons and pass each module checkpoint.
  2. Build your final project and demonstrate it.
  3. OUTLEARN reviews your project and issues your certificate. It is not issued automatically.

Frequently asked questions

What should I know before starting?

The course expects Swift Programming or an accepted equivalent. Completion of Swift Programming or equivalent: you can write structs, enums, closures, optionals and protocols, and run swift test on a small package. A short diagnostic check is described in the entry requirements.

What do I build for the final project?

You choose one of 3 options: Habit tracker; Reading list tracker; Shared-expense log. It is reviewed by a trainer in a live demonstration.

When do I get a certificate?

Only after you build and demonstrate your live project. OUTLEARN staff issue certificates; nothing is issued automatically.

Be first in when SwiftUI Fundamentals opens

Email us and we will tell you as soon as enrolment opens.

Notify me when it opens
₹99Opens soon
Notify me