Changes

Jump to: navigation, search

An Overview of Objective-C Object Oriented Programming

17 bytes added, 19:43, 14 October 2009
Structuring Object-Oriented Objective-C Code
== Structuring Object-Oriented Objective-C Code ==
Our example is currently contained within a single source file. In practice, the convention is to place the interface and implementation in their own include files that are then ''included'' in the program source fileand complication. Generally the interface section is contained within a file called ''ClassName.h'' where ''ClassName'' is the name of the class. In our case, we would create a file called ''BankAccount.h'' containing the following:
<pre>

Navigation menu