iOS5 App Development Basics Flashcards
Used to test an app without needing an actual physical device
iOS Simulator
Allows you to easily track multiple versions of your project
Snapshot feature
IDE for iPhone Development
Xcode
API
Application Programming Interface
Dimensions of iPhone (in points)
320 x 480
Dimensions of iPad (in points)
1024 x 768
RAM for iPhone
512MB
Extension for an iPhone/iPad app
xcodeproj
Language used to write iOS apps
Objective-C
Defines the functional building blocks (classes) that make iOS devices perform certain actions
Cocoa Touch
Collection of interface elements and data storage elements etc you can access from your applications
Cocoa Touch
iOS functional building blocks
Classes
Development approach (design pattern) to structure iOS applications
Model-View-Controller
MVC
Model-View-Controller
IDE
Integrated Development Environment
OOP
Object-oriented programming
Defines what an object can do
class
Class that builds upon another class
subclass
Class that another class inherits from
superclass
Process of creating an active object from a class
instantiation
Calling a method is the same as…
…sending an object a message
Storage location for a piece of information
variable
Storage place for a piece of information specific to a class
instance variable
Piece of information provided to a method when it is messaged
parameter
Way to refer to an object within its own methods
self
Master class in iOS
NSObject
Objective-C is an extension (super set) of…
…C
Files used to create a class
interface and implementation files
Extension for interface file
h
Extension for implementation file
m
Synonym for interface file
header
Used to define a list of all methods and properties a class uses
interface file
This file contains the code that makes everything ‘work’
implementation file
Directive to include other interface files that an application might need to access
import
Syntax to include the fictitious user-created file: ‘myFile.h’
import myFile.h
Syntax to include UIKIT in a class
import
Delimiter for a list of protocols
<>
Syntax for single-line comment
//blah blah blah
Syntax for block-comment
/**blah blah blah **/
A class that implements a protocol is said to ____ to that protocol
conform
The superclass for WelcomeViewController
UIViewController
Symbol used for inheritance
:
Companion to the @property directive
@synthesize
getters
accessors
setters
mutators
Something the simulator cannot reliably test
performance
Used to set up an outgoing connection from the implementation code to the view
IBOutlet
Term used to describe each screen of an iPhone app
view
Framework used to write iPhone apps
Cocoa Touch
Used to receive an event in code and trigger something
IBAction
Document Apple uses to evaluate apps for the App Store
Human Interface Guide
This type of app is typically one screen, and gives you the basics with minimal interaction
utility
These define to which messages the datasource and delegate respond
protocols
This type of app typically involves hierarchical data
productivity
This type of app is mostly custom controllers and graphics
immersive
Other name for an *.xib file
nibfile
To use a new class you need to _____ it
instantiate
The ‘@’ symbol is shorthand for creating one of these
NSString
A tool in Xcode to help fix broken code
debugger
The HIG requires some kind of _____ element in a cell if there is more information available
disclosure
strong and nonatomic are examples of …
attributes
Attribute that informs the system that the object referred to needs to be kept around and not discarded from memory
strong
Attribute that informs Xcode not to worry about different parts of the application using a property at the same time
nonatomic
Denotes a class method
+
Denotes an instance method
-
Return type indicating a method returns nothing
void
Used to indicate any type of object
id
Closes an interface file
@end
Syntax for declaring a variable
;
Data type for whole numbers
int
Data type for numbers with ‘tame’ numbers of decimal points
float
Data type for highly precise numbers with huge numbers of decimal places
double
Syntax for declaring a string called ‘userName’
NSString *userName;
Syntax for reserving memory and initializing an object
[[ alloc] init];
Write a statement to declare and initialize a label object called ‘myLabel’
UILabel *myLabel = [[UILabel alloc] init];
Write a statement to declare and initialize a label object called ‘myLabel’ to GO!
UILabel *myLabel = [[UILabel alloc] initWithString:@GO!];
Apple’s classes often provide a special initialization method called a _____ method
convenience
The statement that creates the variable ‘quotient’ is an example of ….
casting
Syntax for sending an object a message with no parameters
[ ];
Syntax for sending an object a message with one parameter (p1)
[ : p1];