Glossary Flashcards

1
Q

action

A

A piece of code that’s linked to an event that can occur in your app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

activity viewer

A

Part of the Xcode toolbar that displays messages about the build process and other information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

adaptive interface

A

A UI that automatically adjusts so that it looks good in the context of the available screen space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

adopt

A

To indicate that a class, structure, or enumeration conforms to a protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

application programming interface (API)

A

A set of functions, classes, protocols, and other components that define how pieces of software should interact with each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

app delegate

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

application object

A

An object in your app that’s responsible for managing the life cycle of the app, communicating with itsdelegate, the app delegate, during state transitions within the app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

argument

A

A value you pass in to a function, method, or initializer to satisfy one of its parameters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

array

A

A data type that stores multiple values of the same type in an ordered list.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Attributes inspector

A

An inspector that you use to customize visual attributes of a UI element in a storyboard.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

asset catalog

A

A tool to manage assets like images that are used by your app as part of its UI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

assistant editor

A

In Xcode, a secondary editor window that appears side-by-side with your primary editor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Auto Layout

A

A layout engine that helps lay out your UI based on the constraints you specify.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

base class

A

A class that’s at the root of its class hierarchy, meaning that it has no superclass.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

canvas

A

The background of a storyboard where you add and arrange UI elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

class

A

A piece of code that describes the behavior and properties common to any particular type of object, essentially providing a blueprint for the object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

class hierarchy

A

A hierarchical representation of a class’s relationships to its superclass and subclasses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

closed range operator

A

A hierarchical representation of a class’s relationships to its superclass and subclasses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Cocoa Touch

A

The set of Apple frameworks and technologies used to develop iOS apps.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

code completion

A

A feature of Xcode that infers what you’re trying to type from context and provides suggestions that you can select.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

completion handler

A

A closure that’s passed as a parameter to a method that calls the closure when it finishes executing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

comment

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

conditional statement

A

A control flow statement that checks whether a condition is true before executing a piece of code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

conform to

A

For a class, structure, or enumeration to satisfy the requirements of a protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

console

A

A tool for debugging and for logging information for debugging purposes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

constant

A

A value that’s initialized once and cannot change, indicated in Swift by the let keyword.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

constraint

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

content view

A

A view object that’s located at the top of a view hierarchy, serving as a container for the subviews in its hierarchy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

control

A

A specialized type of view (specifically, an instance of the UIControl class or one of its subclasses) that responds to user input.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

convenience initializer

A

A secondary initializer, which adds additional behavior or customization, but must eventually call through to a designated initializer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

data model

A

The representation or structure of data within an app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

data source

A

An object that manages the app’™s data model, providing a view object with the information it needs to display that data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

delegate

A

An object that acts on behalf of, or in coordination with, another object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

designated initializer

A

One of the primary initializers for a class; a convenience initializer within a class must ultimately call through to a designated initializer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

destination view controller

A

The view controller whose contents are displayed at the end of a segue.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

downcast

A

To attempt to cast an object to one of its subclass types.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

entry point

A

Where control enters a program or piece of code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

enumeration

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

event-driven programming

A

A category of programming in which the flow of the app is determined by events: system events and user actions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

extension

A

A capability to add functionality to an existing type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

failable initializer

A

An initializer that could return nil after initialization.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

first responder

A

An object that is first to receive many kinds of app events, including key events, motion events, and action messages, among others.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

fix-it

A

A suggested fix for a compiler error in Xcode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

forced type cast operator

A

An operator (as!) that attempts a downcast and force-unwraps the result.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

force-unwrap operator

A

An operator (!) placed after an optional value to access its underlying value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

function

A

A reusable, named piece of code that can be referred to from many places in a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

functions menu

A

In Xcode, a jump menu that lets you navigate directly to a specific declaration or section in a source code file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

gesture recognizer

A

An object that you attach to a view that allows the view to respond to actions the way a control does.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

global

A

A constant, variable, or function defined at the top-level scope of a program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

half-open range operator

A

An operator (..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

Identity inspector

A

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.

52
Q

identity operator

A

An operator (===) that tests whether two object references both refer to the same object instance.

53
Q

immutable

A

A value that cannot be changed (or mutated) after it’s initialized, like a constant.

54
Q

implement

A

To define the behavior of something in code.

55
Q

implicitly unwrapped optional

A

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.

56
Q

inheritance

A

When a class is a subclass of another class, it gets all of its behavior (methods, properties, and other characteristics) from its superclass.

57
Q

initializer

A

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.

58
Q

inspector pane

A

An area in Xcode that displays inspectors, such as the Attributes inspector, Identity inspector, and Size inspector.

59
Q

instance

A

A specific occurrence of a class (that is, an object), structure, or enumeration.

60
Q

integrated development environment (IDE)

A

A software application that provides a set of tools for software development.

61
Q

Interface Builder

A

The graphical environment for building a UI in Xcode.

62
Q

intrinsic content size

A

The minimum size needed to display all the content in a view without clipping or distorting that content.

63
Q

iterate

A

To perform repeatedly.

64
Q

library pane

A

An area in Xcode that displays one of the ready-to-use libraries of resources for your project, like the Object library.

65
Q

local

A

A constant or variable defined only within a particular, limited scope, like a loop, conditional statement, orfunction.

66
Q

loop

A

A control flow statement that executes the same piece of code multiple times.

67
Q

method

A

A reusable, named piece of code that’s associated with a particular class, structure, or enumeration.

68
Q

modal segue

A

A segue in which one view controller presents another view controller as its child, requiring a user to perform an operation on the presented controller before returning to the main flow of the app.

69
Q

Model-View-Controller (MVC)

A

A pattern of app design in which view controllers serve as the communication pipeline between views and the data model.

70
Q

mutable

A

A value that is able to be changed (or mutated) after it’s initialized, like a variable.

71
Q

navigation controller

A

A specialized view controller subclass that manages transitions backward and forward through a series of view controllers.

72
Q

navigation stack

A

The set of view controllers managed by a particular navigation controller.

73
Q

nil

A

The absence of a value or no value.

74
Q

nil coalescing operator

A

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.

75
Q

object

A

An instance of a class.

76
Q

Object library

A

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.

77
Q

optional

A

A value that contains either an underlying value or nil to indicate that the value is missing.

78
Q

optional binding

A

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.

79
Q

optional type cast operator

A

An operator (as?) that attempts a downcast and returns the result as an optional value.

80
Q

outlet

A

A reference to an object in a storyboard from a source code file.

81
Q

outline view

A

A pane in a storyboard that lets you see a hierarchical representation of the objects in your storyboard.

82
Q

override

A

To replace an implementation of a method defined on a superclass.

83
Q

parameter

A

An additional piece of information that must be passed into a function, method, or initializer when it’s called.

84
Q

playground

A

A type of file in which you can change and play around with Swift code directly in Xcode and see the immediate results.

85
Q

project navigator

A

Part of the Xcode workspace window that displays all the files in your project.

86
Q

property

A

A piece of data encapsulated within a class, structure, or enumeration.

87
Q

property observer

A

A piece of code that’s called every time a property’s value is set that’s used to observe and respond to changes in the property’s value.

88
Q

protocol

A

A blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality.

89
Q

read-only

A

A value that can only be viewed (read) but never changed (written).

90
Q

read-write

A

A value that can be both viewed (read) and changed (written).

91
Q

resize handles

A

Small white squares that appear on a UI element’s borders when it’s selected so you can change its size on the canvas.

92
Q

root view controller

A

The first item added to a navigation controller’s navigation stack, which is never popped off (removed from) the stack.

93
Q

run loop

A

An event processing loop that you use to schedule work and coordinate the receipt of incoming events in your app.

94
Q

runtime

A

The period during which a program is executing.

95
Q

scene

A

A storyboard representation of a screen of content in your app.

96
Q

scene dock

A

A bar that contains information related to a scene in a storyboard.

97
Q

segue

A

A transition between two view controllers in a storyboard.

98
Q

show segue

A

A segue that pushes new content on top of the current view controller stack.

99
Q

Simulator

A

An app in Xcode that simulates the behavior and appearance of running an app on a device.

100
Q

Size inspector

A

An inspector that you use to edit the size and position of a UI element in a storyboard.

101
Q

source view controller

A

The view controller whose contents are displayed at the beginning of a segue.

102
Q

storyboard

A

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.

103
Q

storyboard entry point

A

The first scene that’s shown from a storyboard when an app starts.

104
Q

string interpolation

A

The process of inserting string representations of constants, variables, literals, and expressions into longer strings.

105
Q

structure

A

A data type that’s similar to a class, but doesn’t support inheritance and is passed by value instead of by reference.

106
Q

subclass

A

A class that’s a child of another class (known as its superclass).

107
Q

subview

A

A view that is enclosed by another view (known as its superview).

108
Q

superclass

A

A class that’s a parent of another class (known as its subclass).

109
Q

superview

A

A view that encloses another view (known as its subview).

110
Q

Swift standard library

A

A set of data types and capabilities designed for Swift and baked into the language.

111
Q

target

A

The object that receives the action message in the target-action pattern.

112
Q

target-action

A

A design pattern in which one object sends a message to another object when a specific event occurs.

113
Q

tuple

A

A grouping of values.

114
Q

type casting

A

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.

115
Q

type inference

A

The ability of the Swift compiler to determine the type of a value from context, without an explicit type declaration.

116
Q

UIKit

A

A Cocoa Touch framework for working with the UI layer of an iOS app.

117
Q

underscore

A

A representation of a wildcard in Swift (_).

118
Q

unit test

A

A piece of code written specifically to test a small, self-contained piece of behavior in your app to make sure it behaves correctly.

119
Q

unwrap

A

To extract an underlying value from an optional.

120
Q

user interface (UI)

A

The layer of visual elements that lets a user interact with a piece of software.

121
Q

utility area

A

An area in Xcode that displays the inspector pane and library pane.

122
Q

unwind segue

A

A type of segue used to implement backward navigation.

123
Q

variable

A

A value that can change after it’s been initialized, indicated in Swift by the var keyword.

124
Q

view

A

An object that’s used to construct your UI and display content to the user.

125
Q

view controller

A

An object that manages a set of views and coordinates the flow of information between the app’s data model and the views that display that data.

126
Q

view hierarchy

A

A hierarchical representation of views relative to other views.

127
Q

workspace window

A

The Xcode window, which you use to manage and navigate through the files and resources in your project.