Keentune
Adaptive skill practice — find your level, get sharper.

Swift practice

Value types
Try one — no signup
What is true after this Swift code?
let a = [1, 2] var b = a b.append(3)
Start practicing — it’s free
No signup · first signal after 5 answers · your score at session end
Optionals, protocols, ARC, and concurrency
The Swift language in depth, from the official language guide. Optionals and the unwrapping toolkit (if let, guard let, chaining — and why force-unwrap crashes), value versus reference semantics (structs vs classes, copy-on-write), properties and observers, closures and capture semantics (escaping, capture lists and retain cycles), protocols and protocol-oriented design, generics and associated types, enums with associated values, error handling (throws, try/try?/try!, Result), memory management (ARC, weak vs unowned), and modern concurrency (async/await, actors, tasks). Heavy on predict-the-output and spot-the-bug items so understanding is tested, not vocabulary. Every explanation names the principle, the trap, and a rule you code by. Authored from the official Swift documentation at its current stable release.
• Meets you at your level — never too easy, never too hard.
• Adapts every question to how you’re doing.
• Tracks your level over time. Skill practice, not a test.

New here? Read the Swift guide

A free 17-minute primer — the mental model, the mistakes beginners make, and what to practice first.

Curriculum

224 concepts across 27 chapters, from foundations through advanced practice — each one a concept the adaptive question bank can teach and test.

A. The basics: bindings, types and optionals

9

B. Operators and expressions

7

C. Strings and characters

8

D. Collections

9

E. Control flow and pattern matching

10

F. Functions

8

G. Closures and capture

9

H. Enumerations

9

I. Value and reference semantics

8

J. Properties

8

K. Methods, subscripts and inheritance

8

L. Initialization and deinitialization

9

M. Errors, throwing and optional chaining

11

N. Protocols

11

O. Generics

11

P. Opaque and existential types

7

Q. Automatic reference counting

8

R. Memory safety and ownership

8

S. Concurrency: async/await, tasks and actors

17

T. Macros

6

U. Attributes: property wrappers, result builders and the rest

7

V. Extensions and access control

8

W. Type casting, key paths and reflection

8

X. Advanced operators

6

Z. Lexical structure

3

Y. Language evolution and version gates

6

AA. Patterns

5
View the full curriculum →
Keentune is not affiliated with or endorsed by the organizations whose documentation informs these maps.
Start practicing — it’s free
No signup · first signal after 5 answers · your score at session end
Explore all skills on Keentune

Swift on exams

Swift is one of the skills tested on this exam. Each prep page lays out what the real test covers and where this skill fits.
Also on your phone
All exam, test, and product names and trademarks are the property of their respective owners and are used here for identification and reference only. Keentune is independent study practice — not affiliated with, authorized, or endorsed by any of these organizations.
© 2026 SportaApp LLC