Obj-C Flashcards

0
Q

Subclass

A

A class that builds upon another class, adding additional features.

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

Class

A

The code which defines an object and what it can do.

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

Super/parent class

A

The class that another class inherits from.

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

Singleton

A

A class that is instantiated only once during the lifetime of a program.

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

Object/instance

A

A class that has been invoked and is active in your code.

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

Instantiation

A

The process of creating an active object from a class.

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

Instance method

A

A basic piece of program functionality implemented in a class.

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

Category

A

Provide a means of extending a class without modifying the class code itself.

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

Class method

A

Similar to an instance method, but applicable to all the objects created from a class.

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

Message

A

When you want to use a method in a class, you send the object a message (the name of the method). AKA calling the method

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

Instance variable

A

A storage place for a piece of information specific to a class. Rarely accessed directly and should instead be used via properties.

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

Variable

A

A storage location for a piece of information. Only accessible in the method where it is defined (unlike instance variables)

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

Parameter

A

A piece of info that is given to a method when it is messaged.

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

Property

A

An abstraction of an instance variable that has been configured using special directives to provide easy access to your code.

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

Protocol

A

Declares methods that can be implemented by a class, usually to provide functionality needed for an object.

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

self

A

A way to refer to an object within its own methods