Obj-C Flashcards Preview

Programming > Obj-C > Flashcards

Flashcards in Obj-C Deck (16)
Loading flashcards...
0

Class

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

1

Subclass

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

2

Super/parent class

The class that another class inherits from.

3

Singleton

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

4

Object/instance

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

5

Instantiation

The process of creating an active object from a class.

6

Instance method

A basic piece of program functionality implemented in a class.

7

Category

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

8

Class method

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

9

Message

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

10

Instance variable

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

11

Variable

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

12

Parameter

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

13

Property

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

14

Protocol

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

15

self

A way to refer to an object within its own methods