Changes

Jump to: navigation, search

An Overview of Objective-C Object Oriented Programming

354 bytes removed, 19:17, 14 October 2009
Declaring an Objective-C Class Implementation
The ''ClassMethods'' section defines the methods that are available to be called on the class. These are essentially functions specific to the class that perform a particular operation when called upon.
 
Methods come in two different forms, ''class methods'' and ''instance methods''. Class methods operate at the level of the class, such as creating a new instance of a class. Instance methods, on the other hand, operate only on the instance of a class (for example performing an arithmetic operation on two instance variables and returning the result).
To create an example outline interface section for our BankAccount class, we would use the following:

Navigation menu