Find the Swifty words! : in progress...
[ glossary ]
- Fixed-size collection of values of any type
- A custom type with cases and associated values
- Makes a method shared across all instances of a class or struct
How we check for and extract the value inside an optional
Type that stores data as pairs of keys and values
Places variables into strings easily
Loop type commonly used to make infinite loops
A list of criteria that a type must conform to
Evaluates multiple conditions in one block of code
Special method that creates instances of structs and classes
Functions that accept one or more parameters of a specific type
Code to handle errors thrown by do
Value passed into a function
Unwrapping alternative to if let
Sends back a value from a function
A catch-all case for switch blocks
An anonymous function that you can pass around as data
A whole number
Telling Swift the specific type a variable should be
Question marks after optionals
Code that is triggered when properties change
May or may not exist
Keyword that lets function parameters be modified outside the function
Access control that restricts a property to being used only inside its type
Skips the rest of the current loop iteration
Loop that always executes at least once
The return type of a function that returns nothing
How we refer to the current instance of an object
Struct initializer that assigns values to all properties
The name for how values used in a closure are stored for later use
A variable attached to a struct or class
A type that spans values between two numbers
Special syntax for final parameter closures
Type that holds a large floating-point number
The name for math symbols like + and -
The ability to treat an object of one type as another type
Adds extra functionality to a type
The name for a function that exists inside a struct or class
Exits a loop immediately
Keyword for a function that can trigger errors
Key that lets us replace a method inherited from a superclass
When one class builds on another
Reads the length of a string
Apple's all-in-one code editing environment
Operator that takes three operands
Puts off work until later
Name for a method called before class destruction
Ordered collection of values stored in a single value
A class that cannot be inherited from
Holds either true or false