xcode glossary Flashcards

0
Q

Build

A

the process Xcode uses to create a product from a target

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

Cocoa

A

An OS X development environment that uses Objective-C programming interfaces that are based on the integration of Open Step, Apple technologies, and Java

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

build client

A

The computer that performs a build operation. This is the computer that runs the Xcode or the xcodebuild instance that carries out the build command.

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

console

A

a pane in the debug area that lets you see program output, and interact with the debugger.

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

Core Data

A

A technology for managing the relationships and persistence of managed objects, whose backing store is usually a database or a file

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

debugger

A

a process that lets you pause a program and examine its state

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

documentation node

A

a documentation file or a folder of files within a documentation set. Each documentation node is associated with a location that identifies the file to display – you select that node in the documentation window. A node may be a single document, a collections of documents, or a single HTML documentation page

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

gutter

A

A vertical strip on the left side of the content pane in the editor. You can use it to quickly locate items in a file. a gutter can disply numbers, errors and warning, and breakpoints

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

nib file

A

an interface builder document. Nib files typically define and lay out objects for the graphical interface of a product

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

nodes file

A

a file that describes the hierarchical structure of the documentation set. It defines the table of contents that users see in the browser view of the Xcode Documentation window and the relationships between entries in the documentation set hierarchy

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

repository

A

a directory tree or database that contains the files managed by a source control system

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

source file

A

a file used to build a product. Source files include source code files, resource files, image files, and others

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

target

A

the instruction for building a finished product from a set of files in your project - for example, a framework, library, application, or command-line tool. Each target builds a single product

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

selector

A

a selector is the name used to select a method to execute for an object, or the unique identifier that replaces the name when the source code is compiles. A selector by itself doesn’t do anything. It simply identifies a method. what makes it useful - (in conjuction with runtime) it acts like a dynamic function pointer that, for a given name, automatically points to the implementation of a method appropriate for whichever class it is being used with.

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

class method

A
  • a method that operates on class objects rather than instances of the class. in Objective-C, a class method is denoted by a (+) sign at the beginning of the method declaration and implementation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

object

A

is a run-time instance of a class

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

argument (or parameter)

A

a variable applied to a method (or, technically, a parameter is a variable applied in a function/method, and when that parameter gets a value, then the value is the argument) eg: a method called WALK might have a parameter called DIRECTION, and if FORWARD was given as its value, then FORWARD becomes the argument.

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

decision structures

A

are a set of commands that tell the computer how to make decisions, including usually if, then
else, then
etc

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

while (condition) do

A

repeat with a condition at the start of the loop

19
Q

Do… while (condition)

A

repeat with a condition at the end of the loop

20
Q

for (number of iterations) (this is a loop)

A

repeat for a specified number of times.

21
Q

show relationship b/n objects, classes and instances

A

Object - like housecats, belong to a class (cat) and an instance is like Mysty

22
Q

root class

A

the top class call NSObject - and consists of many classes below it

23
Q

sub classes get what?

A

an inheritance of methods and attributes, from their super-classes

24
Q

methods are

A

things that classes can do. if a class is a kind of car, then going forward or backward etc are methods

25
Q

upper/lower case use for class and method–

A

upper case for the name of a class, lower for a method or instance

26
Q

object method parameter – etc - how would you write code to make buddy your dog bark three times?

A

[buddy bark:3]
Object first, then method, then parameter. your object is buddy. lower case because he is an instance. method is barks. lower case because it is a method.

27
Q

syntax for applying methods with multiple arguments:
buddy has method for RUN JUMP
RUN takes the arguments fast/slow
JUMP takes the arguments HIGH/MED/LOW

A

[buddy run:slow jump:high]

28
Q

end of a command is indicated by what?

A

;

29
Q

what does % signify (in a command)?

A

that a variable is present

30
Q

why is “typing” (defining the type) important to the computer?

A

so it knows how much memory to assign

31
Q

give examples of types

A

int, float, double, NSObject (includes strings), character

32
Q

no parenthesis means

A

the declaration of a variable

33
Q

parenthesis is:

A

type casting

34
Q

what is ID type?

A

a kind of wildcard - a type to be determined

35
Q

what does != mean?

A

is not equal to

36
Q

what is 20 modulus 8? How do you go about solving that?

A

it is 20/8, so the answer is 4. 20 divided by 8 is 16, and the leftover is 4. 20 modulus 8 is written 20 % 8

37
Q

what’s the syntax for creating an object?

A

ClassName *instanceName = [[ClassName alloc]init];
or ClassName *instanceName = [ClassName new];

this creates an instance, allocates memory and initializes it

38
Q

how does the controller talk to the view?

A

via outlets
type named as IBOutlets
which isn’t really a type - it’s always typed to a (void)

39
Q

target actions are typed as what?

A

IBActions (which aren’t really a type)

40
Q

IBActions usually consist of what?

A

input via touch actions on an ipad or iphone

41
Q

The number display on that silly brainless calculator is an example of which:

IBOutlet or IBAction?

A

IBOutlet because it outlets the numbers the users punched into the buttons

42
Q

the buttons on that silly brainless calculator would be an example of what:
IBOutlet or IBAction?

A

IBAction bcs it takes in the user’s touch actions

43
Q

what is an indirect way for the view to talk to the controller?

A

target actions (IBAction)

44
Q

where are instance variables declared?

A

between the curly brackets in @interface