Ir para o conteúdo principal
Academia
Iniciante Distrito do código

Swift

Apps para iPhone e iPad.

Swift is the language of Apple's platforms: iPhone, iPad, Mac, Apple Watch and Vision Pro. It is fast, safe by design and pleasant to read. This track starts from zero: constants and variables, optionals, decisions and loops, functions and closures, then structs, classes, enums and protocols. You will meet Swift 6's compile-time protection against data races, take a first look at async code and actors, and build your first SwiftUI screen. A last module turns it into a real app: lists and navigation, JSON from the network with Codable, and saving data with SwiftData.

Every lesson is short, practical and checked with quizzes, so you learn by doing.

Lições
14
Tempo
2 h
Nível
Iniciante

Por enquanto, as lições desta trilha estão em inglês.

  • Bronze disponível
  • Prata disponível
  • Ouro bloqueada

Hora de provar?

Três exames esperam por você: Bronze, Prata e Ouro.

Ir para os exames

O que você vai saber fazer

  • Write Swift with constants, variables and its strict, helpful type system
  • Handle missing values safely with optionals
  • Write functions with argument labels and process arrays with closures
  • Choose between structs, classes and enums, and design with protocols
  • Call async code and protect shared state with actors
  • Build a first interactive SwiftUI screen

A jornada

  1. 1
    Módulo 1

    Swift basics

    Constants and variables, optionals, decisions, loops, functions and closures.

    0 / 5
  2. 2
    Módulo 2

    Types and SwiftUI

    Structs, classes, enums and protocols, async code and actors, and your first SwiftUI view.

    0 / 5
  3. 3
    Módulo 3

    Next: real apps

    Lists and navigation, networking with Codable, and saving data on the device.

    0 / 4

Navegação rápida