General Definitions Flashcards
Perform operations like assignment, arithmetic, and comparison
Basic Operators
Store and manipulate text
Strings and Characters
Organize data using arrays, sets, and dictionaries
Collection Types
Structure code with branches, loops, and early exits
Control Flow
Define and call functions, label their arguments, and use their return values
Functions
Group code that executes together, without creating a named function
Closures
Model custom types that define a list of possible values
Enumerations
Model custom types that encapsulate data
Structures and Classes
Access stored and computed values that are part of an instance or type
Properties
Define and call functions that are part of an instance or type
Methods
Access the elements of a collection
Subscripts
Subclass to add or override functionality
Inheritance
Set the initial values for a type’s stored properties and perform one-time setup
Initialization
Release resources that require custom cleanup
Deinitialization
Access members of an optional value without unwrapping
Optional Chaining