Level 19 Level 21
Level 20


380 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Event Driven Programming
The flow of the app is determined by events: system events and user interaction.
Objects that support views by responding to user actions and populating the views with content. Conduit through which views interact with the data model.
View Controller (UIViewController)
Used to manage a content view with its hierarchy of subviews. Every content view hierarchy that you build in storyboard needs a corresponding view controller.
Action (IBAction)
Code that's linked to an event that can occur in your app. When an event takes place, that code is executed.
Outlets (IBOutlet)
Provide a way to reference interface objects from source code files.
User interface objects such as buttons, sliders, switches that users manipulate to interact with content, provide input, navigate within and app, or perform other functions that you define (enables your code to receive messages from the user interface).
Control Events
Various physical gestures that users can make on controls such as touch and drag events, editing events, value-changed events.
Navigation Controller (UINavigationController)
Manages transitions backward and forward through a series of view controllers.
Navigation Stack
Set of view controllers managed by a particular navigation controller.
Root View Controller
First item added to Navigation Stack.
Transition between two view controllers (source and destination).
Segue (Show)
Pushes new content on top of the current view controller stack.
Segue (Show Detail)
Either pushes new content on top of the current view controller stack, or replaces the content that's shown.
Segue (Modal)
One view controller presenting another controller modally. Requires user to perform operation on presented controller before returning to main flow of the app.
Segue (Popover Presentation)
Presented view controller is shown as a popover anchored to an existing view.
Segue (Custom)
Define your own custom transition by subclassing UIStoryboardSegue.
Segue (Unwind)
Moves backward through one or more segues to return the user to an existing instance of a view controller.
Apple's Integrated development environment (IDE).
Built on top of the C programming language and provides object-oriented capabilities and a dynamic runtime.
An app is a large ecosystem of interconnected objects that communicate with each other to perform specific tasks (display visual interface, respond to user input, store information). Objects are made by creating an instance of a particular Class.
Describes the behaviour and properties common to any particular type of object. You need to both allocate and initialize an object to be able to use it.
Sets an object's initial state (instance variables and properties) to reasonable values and then returns the object.
Class Inheritance
A class inherits behaviour from a parent class.
Inherits all the behaviours and properties defined by the parent. Can define its own additional behaviour and properties or override the behaviour of the parent class.
Object Interaction
Objects interact by sending each other messages at runtime. In Objective-C, one object sends a message to another object by "calling a method" on that object.
Define a set of behaviours that are expected of an object in a given situation.
iOS Simulator
Gives you an idea of how your app would look and behave if it were running on an iOS device.
Activity Viewer
Located in the middle of the toolbar in Xcode. Displays messages about the build process.
UIApplicationMain function
Creates an application object that sets up the infrastructure for your app to work with the iOS system.
Application Object
Manages the app event loop and coordinates other high-level app behaviours.
AppDelegate Class
Creates window where your app's content is drawn and provides a place to respond to state transitions within the app. The app delegate is where you write your custom app-level code.
Visual representation of the app's user interface. Used to layout the flow - or story - that drives your app.
Interface Builder
Xcode's visual interface editor where Storyboard is opened. Provides a library of standard views, controls and other objects you need to build your interface.
Represents a screen of content in your app.
@autoreleasepool (statement)
Supports memory management for your app.
Storyboard Entry Point (arrow)
Shown in interface builder to indicate the scene which is loaded first when the app starts.
Adaptive Interface
An interface that automatically adjusts so that it looks good in the context of the current device and orientation.
Object Library
Contains objects which belong in a view that you can add to storyboard such as visible buttons, visible text fields and invisible objects such as view controllers and gesture recognizers.
Assistant Editor
Displays a secondary editor side by side with your main one.
Auto Layout
Powerful layout engine that helps you design adaptive layouts with ease. A system for expressing relationships between views.
Rules that explain where on 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.
Views display content to the user. They are building blocks for constructing your interface and presenting your content in a clear, elegant and useful way.
View Hierarchy
Defines the layout of views relative to other views. The view hierarchy that you create graphically in a storyboard scene is effectively a set of archived Objective-C objects.
Window Object
Basic container into which you add view objects for display on screen.
View Categories
Content, Collections, Controls, Bars, Input, Containers, Modal.
Used to configure objects before saving them in a storyboard. Each inspector provides important configuration options for elements in your interface.
Outline View
Lets you see a hierarchical representation of the objects in your storyboard.
Size Class
A high-level way to describe the horizontal or vertical space that's available in a display environment, such as iPhone in portrait or iPad in landscape.
Inspector Pane
Appears in utility area above the Object Library.
Inspector Properties
File, Quick Help, Identity, Attributes, Size, Connections.
Inspector (Attributes)
Used to configure your views.
Inspector (Identity)
Used to configure your view controllers.
Inspector (Connections)
Use to create connections between your views and view controllers.
Auto Layout Icons
Align, Pin, Resolve Auto Layout Issues, Resizing Behaviour.
View Controllers
Coordinate flow of information between app's data model and views that display that data, manage the life cycle of their content views, and handle orientation changes when the devices is rotated, and respond to …
Scene Relationships
In addition to segues, scenes my be connected by a relationship.
app delegate
a window into which app content is drawn.
a design pattern in which one object acts on behalf of or accordance with another object.
a container for app's visible content.
view controller
an object that manages an area of content
initial view controller
first view controller to be loaded.
an object that draws content in a rectangular area and handles events caused by user's touches.
views underneath a view.
parent view
the containing view.
child view
the subview of the containing view.
area that looks like graph paper behind a scene on .storyboard
a transition between scenes
initial scene indicator
the first scene that loads when app starts (the same as initial view controller.)
first responder
a dynamic placeholder that represents the first object to receive various events while the app runs.
scene dock
area below the scene on the canvas
source file.
property list file of the app.
to make concrete
mechanism in which an activated UI element can send an action message to a an object that can perform the corresponding action method.
a connection between 2 objects.
property declaration
a directive that tells the compiler how to generate the accessor methods for a variable.
accessor method
a method that gets or sets a value of an object's property.
a list of methods.
delegate protocol
specifies all messages an object can send to its delegate.
to set up, write the code for.
Where do controllers come in?
Controllers come in after we lay out user interface and want to let users interact with it.
How do controllers support our views?
Controllers support our views by responding to user actions and populating the views by content.
What are controller objects?
Controller objects are conduits through which views learn about changes in the data model, and vice versa.
How are views notified of changes in data model?
Views are notified of changes in the model objects through app's controllers, and controllers communicate user-initiated changes - for example, text entered in the text field - to model objects.
What is the next step after we've built a basic view hierarchy.
The next step, after we've built a basic view hierarchy, is to control visual elements and to respond to user input.
What do we use a view controller (UIViewController) in an iOS app for?
We use view controller to manage a content view with its hierarchy of subviews.
Is view controller part of a view hierarchy?
View controller is neither part of the view hierarchy nor it's an element of our user interface. Instead, it manages the view objects in the hierarchy and provides them with behaviour.
How view controllers deal with limited amount of space in which to display content?
They provide infrastructure needed to remove views from one view controller and replace them with the views from another.
How do we define interactions in our app?
We define interactions in our app by making our view controller files communicate with the views in our storyboard. We do this by defining connections between the storyboard and source code files through actions and outlets.
What is an action?
An action is a piece of code that is linked to some kind of event that can occur in our app. When that event takes place, that piece of code gets executed.
What can we accomplish by an action?
We can define an action to accomplish anything, from manipulating a piece of data to updating the user interface.
How do we define an action?
We define an action by creating and implementing a method with an IBAction return type and a sender parameter, e.g.
What does a sender represent?
A sender points to the object that was responsible for triggering the action.
What does a IBAction represent?
It indicates that the method is an action that we can connect to from our storyboard in Interface Builder (which is why the keyword has a prefix IB).
What do outlets provide?
Outlets provide a way to reference objects from our interface - the objects we added to our storyboard - from our source code files.
How do we create an outlet?
We create an outlet by Control-dragging from a particular object in our storyboard to a view controller file. Outlets are defined as IBOutlet properties.
What does IBOutlet mean?
IBOutlet tells Xcode that we can connect to this property from Interface Builder.
What is the result of creating an outlet?
By creation of an outlet, property for the object in our view controller file is created, which lets us access and manipulate that object from code at runtime.
What is a control?
A control is an user interface object such as button, slider or switch that user can manipulate to interact with content, provide input, navigate within an app and perform other actions we define. They pro…
What happens when user interacts with a control?
When user interacts with a control, a control event is created.
What is control event?
A control event represents various physical gestures user can make on controls, such as lifting a finger from control, dragging a finger to control or touching down within a text field.
What is a navigation controller?
A navigation controller (UINavigationController) is a specialised type of a view controller that manages transitions forward and backward through a series of view controllers, such as when a user navigates through email accounts, inbox mess…
What is a navigation stack?
A navigation stack is a set of view controllers that are managed by a particular navigation controller. It is a last-in first-out collection of custom view controllers.
What is a root view controller?
Root view controller is the first custom view controller added to navigation stack. It is never popped off the stack.
How are storyboards composed in most apps?
In most apps, storyboards are composed of a sequence of scenes, each of which represents a view controller and its view hierarchy.
How are scenes connected within storyboard?
Scenes are connected by segues, which represent transition between two view controllers: the source and the destination.
Describe push segue.
It adds destination view controller to the navigation stack. Push segues may only be used when the source view controller is connected to a navigation controller.
Describe modal segue.
It is simply one view controller presenting another controller modally, requiring a user to perform some operation on the presented controller before returning to the main flow of the app. A modal view controlle…
Describe custom segue.
It is a custom transition we define by subclassing UIStoryboardSegue.
Describe unwind segue.
It moves backward through one or more segues to return the user to an existing instance of a view controller. We use unwind segues to implement reverse navigation.
What is the other way of connecting scenes, beside segues?
Instead of segues, scenes can also be connected by a relationship.
What is important when using storyboards for planning user interface?
When we use storyboards for planning our user interface, it is important that one view controller is marked as being initial view controller. This is the view controller, whose content will be displayed the first.
NSString *treehouse = @ "Treehouse";
Create a string named "treehouse" with a value of "Treehouse"
NSString *myString = @ "Iphone Island"
Create a string named "myString" with a value of "Iphone Island"
What is a "string"?
used to store text data into an object
What is Objective C?
object oriented language that allows for storing data, objects, and manipulating them
What is a "class"?
a blueprint for creating an object
What is a "control"?
anything that a user can see or interact with. ex: a button, slider, label, image
opens the Visual Layout Tool. Interface Builder
What does clicking on the "Mainstoryboard.storyboard" do? Also known as the _______.
Label, Round Rect Button
What were the (2) searches from the Utilities Pane that we used in order to create the Crystal Ball App?
Size Inspector Icon. Move, adjust
What is the name of the ruler icon? It allows you to _______ and _______ the dimensions
320 pts. 280 pts.
What is the full measure of the width? What size would you make the object if you wanted 20 units left on each side?
Viewer, ViewController.h
The tuxedo icon pulls up the _______ screen and the _______ screen.
Hold Control and then Drag into the ViewController.h screen.
How do we sync the content from the Viewer screen to the ViewController.h screen?
@Interface, @End
Between what two sections must you input data for the ViewController.h screen?
send message to a class, class creates object in memory, and gives you a pointer to it, and then you store the pointer in a variable
a pointer to the object being asked to execute the method
name of the method to be executed
what do you set an object to to destroy it
what is the format string character for int
what is the format string character for float
what is the format string character for char
this format string character takes any object and calls the description method on that object
an object that represents nil
pointer to any object
an object knows its own type because of its _______ pointer. allows method to be executed to be determined at runtime
What is the purpose of UIApplicationMain function?
The UIApplicationMain function creates an application object that sets up the infrastructure for your app to work with the iOS system. This includes creating a run loop that delivers input events to your app.
What is the purpose of @autoreleasepool?
The @autoreleasepool statement is there to support memory management for your app. It is part of memory management infrastructure.
What makes memory management straightforward and how?
Automatic Reference Counting (ARC) makes memory management straightforward by getting the compiler to do the work of keeping track of who owns an object.
What does UIApplicationMain function do?
UIApplicationMain function creates two important initial components of an application:
What does application object do?
The application object manages the app event loop and coordinates other high-level app behaviors. This class, defined in the UIKit framework, doesn't require you to write any additional code to get it to do its job.
What is app delegate?
Xcode created this class for us as part of setting up the Empty Application template. The app delegate creates the window where your app's content is drawn and provides a place to respond to s…
What happens at app start up?
As your app starts up, the application object calls defined methods on the app delegate to give your custom code a chance to do its job—that's where the interesting behavior for an app is executed.
What property does app delegate has and why is it important?
The app delegate interface contains a single property: window. With this property the app delegate keeps track of the window in which all of your app content is drawn.
What does app delegate implementation contain?
The app delegate implementation contains "skeletons" of important methods. These predefined methods allow the application object to talk to the app delegate.
What is a storyboard?
A storyboard is a visual representation of the app's user interface, showing screens of content and the transitions between them. You use storyboards to lay out the flow—or story—that drives your app.
What do Xcode templates include?
Xcode templates include preconfigured storyboards providing views, view controllers, and associated source code files that set up the basic architecture for an app
What does Target option tells (when creating a new storyboard)?
This option tells Xcode to include the new storyboard when it builds your app.
How is particular storyboard used as the interface to your app?
When app starts up, the application object checks whether the app has a main interface configured. If it does, the application object loads the defined storyboard when the app launches.
What kind of objects we can add to story board?
Xcode provides a library of objects that you can add to a storyboard file. Some of these are user interface elements that belong in a view, such as buttons and text fields. Others define…
What does a view controller do?
A view controller manages a corresponding view and its subviews.
What is a storyboard file?
A storyboard file is a configuration of objects thats used by our app at runtime.
What does Identity inspector let us do?
Identity inspector lets you edit properties of an object in your storyboard related to that object's identity, such as what class it is.
What does unwind segue provide?
Unwind segue allows user to from a given scene back to a previous scene, and provides a place for us to add our own code that gets executed when users navigate between those scenes.
How is unwind segue created?
Unwind segue is created by adding an action method to the destination view controller (the view controller we want to unwind to).
How does a method that can be unwound to have to look like?
The method, that can be unwound to, has to return an action (IBAction) and take in a storyboard segue (UIStoryboardSegue) as a parameter.
Table views can get data statically or dynamically.
What are two ways table views can get data?
What is target-action?
Target-action is conceptually simple design pattern in which one object sends a message to another object when a specific event occurs.
What is an action message in the target-action pattern?
Action message is a selector defined in source code.
What is a target in the target-action pattern?
A target is the object that receives the message. It is an object capable of performing the action - typically a view controller.
What object does usually send the action message?
The object that sends the action message is usually a control - such as button, slide, or switch - that can trigger an event in response to user interaction, such as tap, drag or value change.
Describe delegation pattern.
Delegation pattern is a simple and powerful pattern in which one object acts on behalf of, and in coordination with, another object. The delegating object keeps a reference to the other object - the dele…
What does Foundation framework include?
Foundation framework includes value classes, representing basic data types such as strings and numbers, as well as collection classes for storing other objects.
What is a value object?
A value object is an object that encapsulates a primitive value and provides services related to that value.
How most classes create their instances?
Most classes create their instances by declaring both initialisers and class factory methods.
What are class factory methods?
Factory methods are methods implemented by class as a convenience for clients that combine allocation and initialisation in one step and return the created object.
Give an example of NSString class's factory method.
NSString declares string class method that allocates and initialises a new instance of the class and returns it to our code.
What are the basic collection classes in Objective-C?
Basic collection classes in Objective-C are NSArray, NSSet and NSDictionary.
What is our data model composed of?
Our app's data model is composed of our data structures and (optionally) business logic that keeps our data in consistent state.
What would be the best option if we want to store only small amount of data?
If we want to store only small amount of data, then Foundation classes may be our best option.
What do we do if our data model requires custom business login in addition to just storing data?
If our data model requires custom business logic in addition to just storing data, then we can write custom class.
What questions should we keep in mind when we want to design data model?
When we want to design our data model we should keep in mind following questions:
Snapshot feature
Allows you to easily track multiple versions of your project
Application Programming Interface
320 x 480
Dimensions of iPhone (in points)
1024 x 768
Dimensions of iPad (in points)
RAM for iPhone
Extension for an iPhone/iPad app
Cocoa Touch
Defines the functional building blocks (classes) that make iOS devices perform certain actions
iOS functional building blocks
Development approach (design pattern) to structure iOS applications
Integrated Development Environment
Object-oriented programming
Class that another class inherits from
Process of creating an active object from a class
...sending an object a message
Calling a method is the same as...
Storage location for a piece of information
instance variable
Storage place for a piece of information specific to a class
Piece of information provided to a method when it is messaged
Way to refer to an object within its own methods
Master class in iOS
Objective-C is an extension (super set) of...
interface and implementation files
Files used to create a class
Extension for interface file
Extension for implementation file
Synonym for interface file
interface file
Used to define a list of all methods and properties a class uses
implementation file
This file contains the code that makes everything 'work'
Directive to include other interface files that an application might need to access
#import "myFile.h"
Syntax to include the fictitious user-created file: 'myFile.h'
#import <UIKIT/UIKIT.h>
Syntax to include UIKIT in a class
Delimiter for a list of protocols
//blah blah blah
Syntax for single-line comment
Syntax for block-comment
/**blah blah blah **/
A class that implements a protocol is said to _______ to that protocol
The superclass for WelcomeViewController
Symbol used for inheritance
Companion to the @property directive
Something the simulator cannot reliably test
Used to set up an outgoing connection from the implementation code to the view
Used to receive an event in code and trigger something
Human Interface Guide
Document Apple uses to evaluate apps for the App Store
This type of app is typically one screen, and gives you the basics with minimal interaction
This type of app typically involves hierarchical data
This type of app is mostly custom controllers and graphics
Other name for an *.xib file
The '@' symbol is shorthand for creating one of these
A tool in Xcode to help fix broken code
The HIG requires some kind of _______ element in a cell if there is more information available
strong and nonatomic are examples of ...
Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
Denotes a class method
Denotes an instance method
Return type indicating a method returns nothing
Closes an interface file
<type> <variableName>;
Syntax for declaring a variable
Data type for whole numbers
Data type for numbers with 'tame' numbers of decimal points
Data type for highly precise numbers with huge numbers of decimal places
NSString *userName;
Syntax for declaring a string called 'userName'
[[<class name> alloc] init];
Syntax for reserving memory and initializing an object
UILabel *myLabel = [[UILabel alloc] initWithString:@"GO!"];
Write a statement to declare and initialize a label object called 'myLabel' to "GO!"
Apple's classes often provide a special initialization method called a _______ method
The statement that creates the variable 'quotient' is an example of ....
[<object variable> <method name>];
Syntax for sending an object a message with no parameters
[<object variable> <method name>: p1];
Syntax for sending an object a message with one parameter (p1)
Tests to see whether two values are equal
Tests to see whether two values are not equal
Implements a logical AND condition
Implements a logical OR condition
Name of the '|' symbol
Negation symbol
if(<boolean condition>){
Two-way selection logic block
Alternative selection mechanism when many conditions exist
Shortcut for writing: count = count + 1;
Shortcut for writing: x = x - 1;
y *= 5;
Shortcut for writing: y = y * 5;
while(<boolean expression>){
Precondition repetition structure syntax
Postcondition repetition structure syntax
retain, release, dealloc, autorelease
Prior to ARC, you used these terms alot
Another name for format specification
Method used to print information in an output panel
NSString *phrase = @"Hello World";
Declare and initialize a string that says: "Hello World" whose identifier if 'phrase' . Use the shortest command possible.
Symbol often denoting a 'pointer'
NS stands for...
What's the difference between Cocoa and Cocoa Touch?
Cocoa is the development framework used for most native Mac OS X applications; Cocoa Touch is customized for a touch interface
Cocoa Touch, Media, Core Services, Core OS
4 Top down technology layers making up iOS
The first method called when a user taps an application icon
True or false: Beginning with iOS4, applications no longer terminate when the user presses the Home button
Every iOS application implements a subclass of _______
The _______ class provided a container for the management and display of views
Class of strings that can be changed
_______ enable applications to store multiple pieces of information in a single object
An example of a common collection data type
Class that creates an array capable of being changed after it is create
Class of collection data type which stores information as object/key pairs
Class used to work with dates as objects
Class that allows URL management
Single line text field
Multiline text entry block
Resembles a slot machine display
Option-click a symbol
Opens the Xcode Quick Help Assistant
Document Outline Area or Outline View
The name of the panel to the left of the Interface Builder Editor panel
What do the Autosizing settings of the Size Inspector do?
Determine how controls resize/reposition themselves when a device changes orientation
Hold down the Option key and point to the other label. The distance will be shown
You have two labels in Interface Builder. One is selected (You clicked on it). How can you tell the distance between it and the other label?
Attributes Inspector
The Inspector you would use to tweak the way interface objects appear
Size Inspector
The Inspector you would use to control your layout in Interface Builder
Interface Builder
Identity Inspector
The Inspector you would access to gain access to various accessibility attributes
Word used to indicate that a user can't interact with a given element
segmented control
Another name for a 'button bar'
web view
An integrated web browser component
A skeleton (holding place) or framework of code that will be completed in the future; provided initially so code will compile (but it may not function)
accessible apps
Apps written to assist users with special disabilities
In the MVC design pattern for iOS apps, this aspect provides the underlying data and methods that offer information to the rest of the application
In the MVC design pattern for iOS apps, this aspect is responsible for receiving user input and acting accordingly, and serves as a 'bridge' between the other two components. It is the backbone of the app.
The goal of the MVC design pattern
Isolate the functional components of an app
@synthesize directive
Creates 'getters' and 'setters'
Declaring a method in an interface file, before it is actually implemented is called _______ the method
Touch Up Inside
What event do you use to detect a button tap?
Single View Application
Which Apple project template creates a simple view/view controller application
What is the relationship between storyboards, scenes, views, and view controllers?
A scene is where you edit a view and assign a controller to it. Storyboards are the files that contain all the scenes you will use in a project.
Software Development Kit
Purpose of the "Auto-enable Return Key" attribute for text fields
Disables the Return key on the keyboard unless the user has entered at least a single character of input into the field
Purpose of "Secure" attribute for text fields
Treats the field as a password, hiding each character as it is typed
What are data detectors?
Attribute settings for some onscreen controls (like text areas) that analyze content and provide helpful links based on what they find. For example, phone numbers can be touched to dial the phone; web addresses…
detail disclosure
A common button type that indicates additional information is available
Recommended image type for button graphics
How do you show a storyboard file as source code?
Right-click on it in the Navigator panel and choose "Open as..." and select "Source Code"
What computer language is the storyboard written in?
Key sequence to open the Project Navigator (left panel)
For a text field, what does the "Clear Button" look like?
Gray circle with a white "X" in it, positioned to the right of the text field box
How do you get rid of an onscreen keyboard?
Send the 'resignFirstResponder' message to the object that currently controls the keyboard (such as a text field)
image view
Used to display image file resources and show simple animations
Class used for creating image views
To provide a convenient way of setting the button's title in the code
Under what circumstances would you need an outlet for a button if it's just needed to trigger an action?
Key sequence to open the Attributes Inspector
Property affecting an element's transparency
alpha ... 1
A fully opaque image has an _______ property value of _______
alpha ... 0
A fully transparent image has an _______ property value of _______
If you have an image file called 'myImage.png' and you make a hi-res version for the retina display, what should be the name of the new file?
Scaling factor to make an image suitable for retina display
File name suffix indicating an image is suitable for retina display
This element should 'always' accompany a slider to indicate its purpose
In a stepper control, when this attribute option is checked, the stepper's value is automatically set to the minimum value when the maximum value is exceeded (or vice versa).
Boolean for 'true' in Objective-C
Boolean for 'false' in Objective-C
rand( )%21
Expression to create a random number in [0,20];
Modulus (remainder) operator
Formatting placeholder for a floating point value with one digit on the left of the decimal and two digits on the right
What property needs to be set before a scroll view (UIScrollView) will scroll?
What type of object does a web view expect as a parameter when loading a remote URL?
modal views
A view that is displayed on top of an original view when user interactions are required
label.text=@"Hello World!";
Character used to show an element as a literal string
Key sequence to save an Xcode file
Key sequence to run an app in Xcode
Name of the drop-down menu in Xcode that lets you select the device used with the iOS Simulator
A file folder in the navigator panel is called a _______
Key sequence to hide/show Navigator View
Option+Command+ 0
Key sequence to hide/show Utilities View
Key sequence to hide/show the Assistant Editor
Command + Tab
Key sequence on a Mac to select between open application
Key sequence to open the Standard Editor
Connections between Objects in the Interface Builder and the header file are formed by _______-_______ from the object to the proper place in the header file
User Interface
Proper way to pronounce a *.xib file
Nib (but a few call it 'zib' but that's not preferred)
57 x 57
Size of iPhone 'lo-res" icon image in pixels
114 x 114
Size of iPhone retina icon image in pixels
property list
'plist' stands for...
This keyword in the property directive is related to memory management and refers to the idea that we want to maintain control of memory issues
[myLabel setText:@"Howdy"];
You have an instance variable called 'myLabel' that is a member of UILabel. In an app, you set it's text property to "Howdy" with the correctly-written command: myLabel.text = @"Howdy"; Re-write this command using [ ] message-sending syntax
In the US, the '#' symbol is often called the _______ symbol
In the UK, the '#' symbol is often called the _______ symbol
Data type for true/false type variables
- (IBAction)moveMe:(id)sender;
Typical header syntax for a button that will be applying the 'moveMe' action in an app
@property directives should be placed _______ (above or below) any IBActions in the header file
@synthesize directives should be placed _______ (above or below) the @implementation directive in the implementation file
In your implementation file, the _______ method (provided in stub form by Apple) runs after machine language code reserves some space in memory for your View. This method is often used to create a 'c…
UIImage *wp1 = [UIImage imageNamed:@"wallPaper_01.png"];
Write a line of code creating a pointer to a wall paper image called 'wp1' that refers to a resource in an app with the file name 'wallPaper_01.png'
bgImages = [[NSArray alloc] initWithObjects: wp1, wp2, wp3, wp4, wp5, nil];
An array of background images called 'bgImages' has been declared as an instance variable in your header file. You have created a set of 5 background images stored in UIImage variables wp1 through wp5. W…
Scaling, rotation, and translation are the most commonly used manipulations supported by _______ transforms, but skewing is also possible.
Class used for image manipulations such as scaling, rotation and translation. Its data structure represents a matrix used for affine transformations.
[shrinkButton setTitle:@"Grow" forState: UIControlStateNormal];
A view has a 'Shrink' button whose label needs to change once it is clicked to 'Grow'. Write a 'message' type command to change it's label to 'Grow'
hasShrunk==YES && hasMoved == YES
An app has boolean variables 'hasShrunk' and 'hasMoved'. Write a boolean condition that checks if each are true
This Xcode utility allows you to check CPU usage, memory allocation and network/file access (among other things)
A virtual 'box' for organizing related projects
You are creating an app for a company whose URL is
What are the guidelines for the class prefix for a project?
Something unique, based on the app's name (perhaps abbreviated). Avoid 'NS' or 'UI' since they are used in Apple's frameworks. A framework or library should always be prefixed. For a simple app, they are not necessary.
Utility apps
Apps that provide easy access to a single screen of information with a backside view for modifying preferences
The 'First Responder' in a scene is not an object it is considered a _______
To zoom between an overview of the entire storyboard and the actual size view, _______ the storyboard background.
disclosure triangle
To unroll or roll up a hierarchy of files, objects or classes, you click the _______ at the root element
Outlets ... pointer
_______ are variables that can store a _______ to an object.
_______ are methods that we can connect to events.
Seques .... relationships
_______ and _______ define the connections between scenes.
In most graphical user interfaces, a _______ view is a view that must be dismissed ('OK' button, 'Cancel' button for example) before the user can perform any other actions in the application.
NSLog(@"%s", __FUNCTION__);
Code fragment for echo printing the name of a function as it loads (for tracing the sequence of code in a project...leaving breadcrumbs)
Control-click on the View Controller's icon to bring up a Connections dialog
An alternative way to see the connections between an object in the Interface Builder and it's code in Xcode without using the Connections inspector
Jump Bar
The bar across the top of the Editor area that shows you the item you are editing
inspector and library
The Utilities area has two sections: _______ and _______
Templates fill in a bunch of _______-_______ code that serves as a framework in which to write future implementations
Build and run keyboard shortcut
Memory aid for keyboard shortcuts in the Navigator panel
Command plus the navigator's position in the selector. For example, the project navigator shortcut is Command-1
nested message send
Combining two messages into a single line of code
graduationParty ... addAttendee:withDish
Given: [graduationParty addAttendee: @"Aunt Jane" withDish: @"deviled eggs"]; The 'receiver' is _______; the 'selector' is _______