Skip to content

Glossary: Swift Basics

block

Also written: blocks

A group of lines between braces `{ }`, such as the code that runs for an `if` or a loop.

Where the book teaches it

Related terms

if and elseloop