Um momento

Learn Swift

Learn modern Swift with safe defaults, clear syntax, and practical coding drills.

Start learning 7 lessons · about 2 hours · free
About this track

Start from your first Swift print statement, then build fluency with values, strings, control flow, loops, functions, optionals, structs, and protocols. Lessons are short, interactive, and designed to feel like pair-programming: read, predict, run, and improve.

Before you start
  • No prior programming experience required.
  • A modern browser with JavaScript enabled.
  • A network connection is needed to run Swift exercises on Wandbox.
  1. Unit 1 · 0/3 lessons

    Getting started

    Run Swift and model values with strings and interpolation. Badge: Swift kickoff

    1. 0x001Run your first Swift programMeet `print`, constants, and Swift’s clean syntax. 15 min 0/1 exercises solved 15 min 0/1 exercises solved
    2. 0x102Model values with clear typesUse `let`, `var`, and Swift’s common value types. 15 min 0/1 exercises solved 15 min 0/1 exercises solved
    3. 0x203Build expressive stringsWork with text safely and format readable output. 15 min 0/1 exercises solved 15 min 0/1 exercises solved
  2. Unit 2 · 0/2 lessons

    Decisions and repetition

    Use conditions and loops to process input and collections. Badge: Flow pilot

    1. 0x304Decide with conditionsUse `if`, comparisons, and booleans to branch. 15 min 0/1 exercises solved 15 min 0/1 exercises solved
    2. 0x405Repeat work with loops and collectionsUse loops and arrays to process many values. 15 min 0/1 exercises solved 15 min 0/1 exercises solved
  3. Unit 3 · 0/2 lessons

    Functions and structs

    Write reusable functions and build clean models with protocols. Badge: Type architect

    1. 0x506Build functions and handle optionals safelyDefine reusable functions and unwrap optional values. 15 min 0/1 exercises solved 15 min 0/1 exercises solved
    2. 0x607Model data with structs and protocolsCreate custom types and reusable behavior contracts. 15 min 0/1 exercises solved 15 min 0/1 exercises solved
Gostou da aula? 😆👍
Apoie nosso trabalho com uma doação: