MasterOnce
← Change LanguageSign in for overview

Concept vault

Swift Concepts

Master these core concepts one at a time.

Strings

Think of a string as a label or a note. Just like you might write your name on a label, a string is how computers remember text. Any word, sentence, or bunch of letters in quotes is a string.

Start Learning →

Arrays

An array is like a toy box that holds things in order. You can put toys in, take toys out, and find a toy by counting which spot it's in. The first toy is in spot 0, the second is in spot 1, and so on.

Start Learning →

SwiftUI Text

Text is like a label sticker you place on the screen.

Start Learning →

SwiftUI Image

PREMIUM

Image is how SwiftUI shows a picture or icon.

Subscribe to unlock

SwiftUI Stacks

PREMIUM

Stacks place views in order, like a column or a row.

Subscribe to unlock

SwiftUI Button

PREMIUM

A button is something the user taps to make something happen.

Subscribe to unlock

SwiftUI TextField

PREMIUM

TextField is where the user types words.

Subscribe to unlock

SwiftUI Toggle

PREMIUM

Toggle turns something on or off.

Subscribe to unlock

SwiftUI List

PREMIUM

List shows many items in a vertical list you can scroll.

Subscribe to unlock

SwiftUI NavigationStack

PREMIUM

NavigationStack helps you go to a new screen and go back.

Subscribe to unlock

SwiftUI ForEach

PREMIUM

ForEach makes the same view many times, one for each item.

Subscribe to unlock

SwiftUI @State

PREMIUM

@State is like a sticky note that updates when you change it.

Subscribe to unlock

SwiftUI Slider

PREMIUM

Slider lets you choose a value by dragging.

Subscribe to unlock

SwiftUI Picker

PREMIUM

Picker lets you choose from a list of options.

Subscribe to unlock

SwiftUI Spacer

PREMIUM

Spacer creates space between views.

Subscribe to unlock

SwiftUI Divider

PREMIUM

Divider draws a line to separate items.

Subscribe to unlock

SwiftUI Modifiers

PREMIUM

Modifiers are like adding stickers and decorations to a view.

Subscribe to unlock

SwiftUI @Binding

PREMIUM

@Binding lets a view control a value from another view.

Subscribe to unlock

SwiftUI ScrollView

PREMIUM

ScrollView lets you scroll when content is too big.

Subscribe to unlock

SwiftUI Sheet

PREMIUM

Sheet brings up a new screen from the bottom.

Subscribe to unlock

SwiftUI Alert

PREMIUM

Alert pops up a message that needs attention.

Subscribe to unlock

SwiftUI @ObservedObject

PREMIUM

@ObservedObject lets a view watch an object for changes.

Subscribe to unlock

SwiftUI @StateObject

PREMIUM

@StateObject creates an object the view owns.

Subscribe to unlock

SwiftUI @EnvironmentObject

PREMIUM

@EnvironmentObject accesses data shared with all views.

Subscribe to unlock

SwiftUI Animation

PREMIUM

Animation smoothly moves things instead of jumping.

Subscribe to unlock