In Xcode, a jump menu that lets you navigate directly to a specific declaration or section in a source code file.
Back
console,
Front
A tool for debugging and for logging information for debugging purposes.
Back
Attributes inspector,
Front
An inspector that you use to customize visual attributes of a user interface (UI) element in a storyboard.
Back
fix-it,
Front
A suggested fix for a compiler error in Xcode.
Back
application object,
Front
An object in your app that's responsible for managing the life cycle of the app, communicating with its delegate, the app delegate, during state transitions within the app.
Back
designated initializer,
Front
One of the primary initializers for a class; a convenience initializer within a class must ultimately call through to a designated initializer.
Back
event-driven programming,
Front
A category of programming in which the flow of the app is determined by events: system events and user actions.
Back
forced type cast operator,
Front
An operator (as!) that attempts a downcast and force-unwraps the result.
Back
closed range operator,
Front
An operator (...) that lets you create a range of numbers that includes both the lower and upper values.
Back
force-unwrap operator,
Front
An operator (!) placed after an optional value to access its underlying value.
Back
Cocoa Touch,
Front
The set of Apple frameworks and technologies used to develop iOS apps.
Back
code completion,
Front
A feature of Xcode that infers what you're trying to type from context and provides suggestions that you can select.
Back
gesture recognizer,
Front
An object that you attach to a view that allows the view to respond to actions the way a control does.
Back
assistant editor,
Front
In Xcode, a secondary editor window that appears side-by-side with your primary editor.
Back
content view,
Front
A view object that's located at the top of a view hierarchy, serving as a container for the subviews in its hierarchy.
Back
control,
Front
A specialized type of view (specifically, an instance of the UIControl class or one of its subclasses) that responds to user input.
Back
activity viewer,
Front
Part of the Xcode toolbar that displays messages about the build process and other information.
Back
comment,
Front
A piece of text in a source code file that doesn't get compiled as part of the program but provides context or other useful information about individual pieces of code.
Back
Auto Layout,
Front
A layout engine that helps lay out your user interface (UI) based on the constraints you specify.
Back
failable initializer,
Front
An initializer that could return nil after initialization.
Back
convenience initializer,
Front
A secondary initializer, which adds additional behavior or customization, but must eventually call through to a designated initializer.
Back
enumeration,
Front
A data type that defines a group of related values and enables you to work with those values in a type-safe way within your code.
Back
destination view controller,
Front
The view controller whose contents are displayed at the end of a segue.
Back
adaptive interface,
Front
A user interface (UI) that automatically adjusts so that it looks good in the context of the available screen space.
Back
completion handler,
Front
A closure that's passed as a parameter to a method that calls the closure when it finishes executing.
Back
function,
Front
A reusable, named piece of code that can be referred to from many places in a program.
Back
action,
Front
A piece of code that's linked to an event that can occur in your app.
Back
closure,
Front
A self-contained block of functionality that can be passed around and used in your code. Closures in Swift are similar to blocks in C and Objective-C and to lambdas in other programming languages.
Back
extension,
Front
A capability to add functionality to an existing type.
Back
application programming interface (API),
Front
A set of functions, classes, protocols, and other components that define how pieces of software should interact with each other.
Back
delegate,
Front
An object that acts on behalf of, or in coordination with, another object.
Back
conform to,
Front
For a class, structure, or enumeration to satisfy the requirements of a protocol.
Back
class,
Front
A piece of code that describes the behavior and properties common to any particular type of object, essentially providing a blueprint for the object.
Back
conditional statement,
Front
A control flow statement that checks whether a condition is true before executing a piece of code.
Back
clean,
Front
Removes all the product files, as well as any object files or other intermediate files created during the build process.
Back
asset catalog,
Front
A tool to manage assets like images that are used by your app as part of its user interface (UI).
Back
constant,
Front
A value that's initialized once and cannot change, indicated in Swift by the let keyword.
Back
data source,
Front
An object that manages the app's data model, providing a view object with the information it needs to display that data.
Back
first responder,
Front
An object that is first to receive many kinds of app events, including key events, motion events, and action messages, among others.
Back
argument,
Front
A value you pass in to a function, method, or initializer to satisfy one of its parameters.
Back
class hierarchy,
Front
A hierarchical representation of a class's relationships to its superclass and subclasses.
Back
canvas,
Front
The background of a storyboard where you add and arrange user interface (UI) elements.
Back
app delegate,
Front
An object in your app (specifically, an instance of the AppDelegate class) that creates the window where your app's content is drawn and that provides a place to respond to state transitions within the app.
Back
downcast,
Front
To attempt to cast an object to one of its subclass types.
Back
array,
Front
A data type that stores multiple values of the same type in an ordered list.
Back
base class,
Front
A class that's at the root of its class hierarchy, meaning that it has no superclass.
Back
data model,
Front
The representation or structure of data within an app.
Back
entry point,
Front
Where control enters a program or piece of code.
Back
adopt,
Front
To indicate that a class, structure, or enumeration conforms to a protocol.
Back
constraint,
Front
In Auto Layout, a rule that explains where one element should be located relative to another, what size it should be, or which of two elements should shrink first when something reduces the space available for each of them.
Back
Section 2
(50 cards)
nil coalescing operator,
Front
An operator (??) placed between two values, a ?? b, that unwraps an optional a if it contains a value, or returns a default value b if a is nil.
Back
intrinsic content size,
Front
The minimum size needed to display all the content in a view without clipping or distorting that content.
Back
guard,
Front
A guard statement declares a condition that must be true in order for the code after the guard statement to be executed. Using a guard statement for requirements improves the readability of your code, compared to doing the same check with an if statement.
Back
nil,
Front
The absence of a value or no value.
Back
library pane,
Front
An area in Xcode that displays one of the ready-to-use libraries of resources for your project, like the Object library.
Back
runtime,
Front
The period during which a program is executing.
Back
override,
Front
To replace an implementation of a method defined on a superclass.
Back
resize handles,
Front
Small white squares that appear on a user interface (UI) element's borders when it's selected so you can change its size on the canvas.
Back
integrated development environment (IDE),
Front
A software application that provides a set of tools for software development.
Back
outlet,
Front
A reference to an object in a storyboard from a source code file.
Back
navigation controller,
Front
A specialized view controller subclass that manages transitions backward and forward through a series of view controllers.
Back
outline view,
Front
A pane in a storyboard that lets you see a hierarchical representation of the objects in your storyboard.
Back
run loop,
Front
An event processing loop that you use to schedule work and coordinate the receipt of incoming events in your app.
Back
mutable,
Front
A value that is able to be changed (or mutated) after it's initialized, like a variable.
Back
immutable,
Front
A value that cannot be changed (or mutated) after it's initialized, like a constant.
Back
initializer,
Front
A method that handles the process of preparing an instance of a class, structure, or enumeration for use, which involves setting an initial value for its properties and performing any other required setup.
Back
read-write,
Front
A value that can be both viewed (read) and changed (written).
Back
loop,
Front
A control flow statement that executes the same piece of code multiple times.
Back
optional,
Front
A value that contains either an underlying value or nil to indicate that the value is missing.
Back
read-only,
Front
A value that can only be viewed (read) but never changed (written).
Back
scene dock,
Front
A bar that contains information related to a scene in a storyboard.
Back
property observer,
Front
A piece of code that's called every time the value of a property is set. Use property observers to observe and respond to changes in the property's value.
Back
property,
Front
A piece of data encapsulated within a class, structure, or enumeration.
Back
Object library,
Front
Part of the Xcode workspace window that shows a list of objects that can be added to a storyboard, including each object's name, description, and visual representation.
Back
segue,
Front
A transition from one scene to another in a storyboard.
Back
playground,
Front
A type of file in which you can change and play around with Swift code directly in Xcode and see the immediate results.
Back
identity operator,
Front
An operator (===) that tests whether two object references both refer to the same object instance.
Back
protocol,
Front
A blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality.
Back
root view controller,
Front
The first item added to a the navigation stack of a navigation controller. The root view controller is never popped off (removed from) the stack.
Back
modal segue,
Front
A segue in which one view controller presents another view controller as its child. The user must interact with the presented controller, and dismiss it before returning to the app's main flow. Use modal segues to present tasks that the user must complete before continuing.
Back
method,
Front
A reusable, named piece of code that's associated with a particular class, structure, or enumeration.
Back
local,
Front
A constant or variable defined only within a particular, limited scope, like a loop, conditional statement, or function.
Back
inheritance,
Front
When a class is a subclass of another class, it gets all of its behavior (methods, properties, and other characteristics) from its superclass.
Back
optional type cast operator,
Front
An operator (as?) that attempts a downcast and returns the result as an optional value.
Back
Interface Builder,
Front
The graphical environment for building a user interface (UI) in Xcode.
Back
optional binding,
Front
The process of attempting to assign an optional value to a constant in a conditional statement to see if the optional contains an underlying value.
Back
Model-View-Controller (MVC),
Front
A pattern of app design in which view controllers serve as the communication pipeline between views and the data model.
Back
global,
Front
A constant, variable, or function defined at the top-level scope of a program.
Back
half-open range operator,
Front
An operator (..<) that lets you create a range of numbers that includes the lower but not the upper value.
Back
implement,
Front
To define the behavior of something in code.
Back
implicitly unwrapped optional,
Front
An optional that can also be used like a nonoptional value, without the need to unwrap the optional value each time it is accessed, because it's assumed to always have a value after that value is initially set.
Back
inspector pane,
Front
An area in Xcode that displays inspectors, such as the Attributes inspector, Identity inspector, and Size inspector.
Back
Identity inspector,
Front
An inspector that you use to edit properties of an object in a storyboard related to that object's identity, such as what class the object belongs to.
Back
parameter,
Front
An additional piece of information that must be passed into a function, method, or initializer when it's called.
Back
scene,
Front
A storyboard representation of a screen of content in your app.
Back
project navigator,
Front
Part of the Xcode workspace window that displays all the files in your project.
Back
object,
Front
An instance of a class.
Back
instance,
Front
A specific occurrence of a class (that is, an object), structure, or enumeration.
Back
iterate,
Front
To perform repeatedly.
Back
navigation stack,
Front
The set of view controllers managed by a particular navigation controller.
Back
Section 3
(30 cards)
unwrap,
Front
To extract an underlying value from an optional.
Back
workspace window,
Front
The Xcode window, which you use to manage and navigate through the files and resources in your project
Back
Size inspector,
Front
An inspector that you use to edit the size and position of a user interface (UI) element in a storyboard.
Back
source view controller,
Front
The view controller whose contents are displayed at the beginning of a segue.
Back
UIKit,
Front
A Cocoa Touch framework for working with the user interface (UI) layer of an iOS app.
Back
storyboard,
Front
A file that contains a visual representation of the app's UI (user interface), showing screens of content and the transitions between them, that you work on in Interface Builder.
Back
Swift standard library,
Front
A set of data types and capabilities designed for Swift and baked into the language.
Back
view hierarchy,
Front
A hierarchical representation of views relative to other views.
Back
superview,
Front
A view that encloses another view (known as its subview).
Back
unit test,
Front
A piece of code written specifically to test a small, self-contained piece of behavior in your app to make sure it behaves correctly.
Back
Simulator,
Front
An app in Xcode that simulates the behavior and appearance of running an app on a device.
Back
unwind segue,
Front
A type of segue used to implement backward navigation.
Back
superclass,
Front
A class that's a parent of another class (known as its subclass).
Back
utility area,
Front
An area in Xcode that displays the inspector pane and .
Back
string interpolation,
Front
The process of inserting string representations of constants, variables, literals, and expressions into longer strings.
Back
storyboard entry point,
Front
The first scene that's shown from a storyboard when an app starts.
Back
view controller,
Front
An object that manages a set of views and coordinates the flow of information between the app's data modeland the views that display that data.
Back
structure,
Front
A data type that's similar to a class, but doesn't support inheritance and is passed by value instead of by reference.
Back
tuple,
Front
A grouping of values.
Back
view,
Front
An object that's used to construct your user interface (UI) and display content to the user.
Back
subview,
Front
A view that is enclosed by another view (known as its superview).
Back
variable,
Front
A value that can change after it's been initialized, indicated in Swift by the var keyword.
Back
type casting,
Front
A way to check the type of an object, and to treat that object as if it's a different superclass or subclass from somewhere else in its own class hierarchy.
Back
subclass,
Front
A class that's a child of another class (known as its superclass).
Back
show segue,
Front
A segue that varies the way new content is displayed based on the target view controller. For navigation controllers, the show segue pushes new content on top of the current view controller stack. Use a navigation controller and show segues to navigate through hierarchical data.
Back
target,
Front
The object that receives the action message in the target-action pattern.
Back
underscore,
Front
A representation of a wildcard in Swift (_).
Back
type inference,
Front
The ability of the Swift compiler to determine the type of a value from context, without an explicit type declaration.
Back
target-action,
Front
A design pattern in which one object sends a message to another object when a specific event occurs.
Back
user interface (UI),
Front
The layer of visual elements that lets a user interact with a piece of software.