Objective C Flashcards

1
Q

abstract class

A

A class defined to make creating subclasses easier.

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

accessor method

A

A method that gets or sets the value of an instance variable.

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

Application Kit

A

A framework for developing an application’s user interface, which includes objects such as menus, toolbars, and windows. Part of Cocoa.

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

archiving

A

Translating the representation of an object’s data into a format that can later be restored (unarchived).

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

array

A

An ordered collection of values.

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

automatic variable

A

A variable that is automatically allocated and released

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

autorelease pool

A

An object defined in the Foundation framework that keeps track of objects that are to be released when the pool itself is released.

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

bitfield

A

A structure containing one or more integer fields of a specified bit width.

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

category

A

A set of methods grouped together under a specified name.

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

caharacter string

A

A null-terminated sequence of characters.

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

class

A

A set of instance variables and methods that have access to those variables.

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

class method

A

A method (defined with a leading + sign) that is invoked on class objects.

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

class object

A

An object that identifies a particular class

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

cluster

A

An abstract class that groups a set of private concrete subclasses, providing a simplified interface to the user

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

Cocoa

A

A development environment that consists of the Foundation and Application Kit frameworks.

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

Cocoa Touch

A

A development environment that consists of the Foundation and UIKit frameworks.

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

collection

A

A Foundation framework object that is an array, a dictionary, or a set used for grouping and manipulating

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

compile time

A

The time during which the source code is analyzed and converted into a lower-level format known as object code.

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

composite class

A

A class that is composed of objects from other classes; often it’s used as an alternative to subclassing.

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

concrete subclass

A

A subclass of an abstract class.

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

conform

A

A class to a protocol if it adopts all the required methods in the protocol, either directly through

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

constant character string

A

A sequence of characters enclosed inside a pair of double quotation marks.

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

data encapsulation

A

The notion that the data for an object is stored in its

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

delegate

A

An object directed to carry out an action by another object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
designated initializer
The method that all other initialization methods in the
26
dictionary
A collection of key/value pairs implemented under Foundation with the NSDictionary and NSMutableDictionary classes.
27
directive
In Objective-C, a special construct that begins with an at sign (@). @interface, @implementation, @end, and @class are examples of .
28
Distributed Objects
The capability of Foundation objects in one application
29
synamic binding
Determining the method to invoke with an object at runtime instead of at compile time.
30
dynamic typing
Determining the class to which an object belongs at runtime instead of at compile time.
31
formal protocol
A set of related methods grouped together under a name
32
forwarding
The process of sending a message and its associated argument(s) to another method for execution.
33
Foundation framework
A collection of classes, functions, and protocols that form the foundation for application development, providing basic facilities such as memory management, file and URL access, the tasks of archiving and working with collections, strings, and number and date objects.
34
framwork
A collection of classes, functions, protocols, documentation, and header files and other resources that are all related.
35
function
A block of statements identified by a name that can accept one or more arguments passed to it by value and
36
garbage collection
A memory-management system that automatically releases the memory used by unreferenced objects. Not supported in the iPhone runtime environment.
37
gcc
The name of the compiler developed by the Free Software Foundation (FSF).
38
gdb
The standard debugging tool for programs compiled with gcc.
39
getter method
An accessor method that retrieves the value of an instance variable.
40
global variable
A variable defined outside any method or function that can be accessed by any method or function in the same source file or from other source files that declare the variable as extern.
41
header file
A file that contains common definitions, macros, and variable declarations that is included in a program
42
id
The generic object type that can hold a pointer to any type of object.
43
inmutable object
An object whose value cannot be modified. Examples from the Foundation framework include NSString, NSDictionary, and NSArray objects.
44
implementation section
The section of a class definition that contains the
45
informal protocol
A logically related set of methods declared as a category, often as a category of the root class.
46
inheritance
The process of passing methods and instance variables from a class, starting with the root object, down to subclasses.
47
instance
A concrete representation of a class.
48
instance method
A method that can be invoked by an instance of a class. See
49
instance variable
A variable declared in the interface section (or inherited
50
Interface Builder
A tool under Mac OS X for building a graphical user interface for an application.
51
interface section
The section for declaring a class, its superclass, instance
52
isa
A special instance variable defined in the root object that all objects inherit.
53
linking
The process of converting one or more object files into a program that can be executed.
54
local variable
A variable whose scope is limited to the block in which it is defined.
55
localization
The process of making a program suitable for execution within a particular geographic region, typically by
56
message
The method and its associated arguments that are sent to an object (the receiver).
57
message expression
An expression enclosed in square brackets that specifies
58
method
A procedure that belongs to a class and can be executed by sending a message to a class object or to instances from the class.
59
mutable object
An object whose value can be changed.
60
nil
An object of type id, which is used to represent an invalid object. Its value is defined as 0.
61
notification
The process of sending a message to objects that have registered to be alerted when a specific event occurs.
62
NSObject
The root object under the Foundation framework.
63
null character
A character whose value is 0.
64
null pointer
An invalid pointer value, normally defined as 0.
65
object
A set of variables and associated methods.
66
object-oriented programming
A method of programming based on classes and objects, and performing actions on those objects.
67
parent class
A class from which another class inherits.
68
pointer
A value that references another object or data type. .
69
polymorphism
The capability of objects from different classes to accept
70
preprocessor
A program that makes a first pass through the source code processing lines that begin with a #, which presumably contain special preprocessor statements. Common uses are for defining macros with #define, including other source files with #import and #include, and conditionally including source lines with #if, #ifdef, and #ifndef.
71
procedural programming language
A language in which programs are defined by procedures and functions that operate on a set of data.
72
property declaration
A way to specify attributes for instance variables that
73
property list
A representation of different types of objects in a standardized format. Property lists are typically stored
74
protocol
A list of methods that a class must implement to conform to or adopt
75
receiver
The object to which a message is sent.The receiver can be referred to as self from inside the method that is
76
retaint counter
A count of the number of times an object is referenced. It's incremented by sending a retain message to the object, and it's decremented by sending a release message to it.
77
root object
The top most object in the inheritance hierarchy that has no parent.
78
runtime
The time when a program is executing; also the mechanism responsible for executing a program's instructions.
79
selector
The name used to select the method to execute for an object.
80
self
A variable used inside a method to refer to the receiver of the message.
81
set
An unordered collection of unique objects implemented under Foundation with the NSSet, NSMutableSet, and
82
setter method
An accessor method that sets the value of an instance variable.
83
statement
One or more expressions terminated by a semicolon.
84
statement block
One or more statements enclosed in a set of curly braces.
85
static function
A function declared with the static keyword that can be
86
static typing
Explicitly identifying the class to which an object belongs at compile time.
87
static variable
A variable whose scope is limited to the block or module in which it is defined. Static variables have default initial values of 0 and retain their values through method or function invocations.
88
structure
An aggregate data type that can contain members of varying types.
89
subclass
Also known as a child class.
90
super
A keyword used in a method to refer to the parent class of the receiver.
91
super class
The parent class of a particular class.
92
synthesized method
A setter or getter method that the compiler automatically
93
UIKit
A framework for developing applications on the iPhone and iTouch. In addition to providing classes for working
94
Unicode character
A standard for representing characters from sets containing up to millions of characters.
95
union
An aggregate data type, such as a structure containing members that share the same storage area. Only one of those members can occupy the storage area at any point in time.
96
Xcode
A compiling and debugging tool for program development with Mac OS X.
97
XML
Extensible Markup Language. The default format for property lists generated on Mac OS X.
98
zone
A designated area of memory for allocating data and objects.