{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
Test Your Knowledge: Source Code of First iPhone Application Explained
Summary
This is a test on the article that explains the code of a simple first iPhone application. The class diagram and overall structure of the code is discussed in the article. Application Delegate and View Controller classes are also introduced.
 
Table of Contents

Creation of the first iPhone application

The Source Code Files

Figure 1. The source code files that you would change in this project. You would change the app delegate and controller class source files directly. The user interface files are manipulated via Interface Builder.

main

App Delegate

View Controller

The Class Model Diagram

Figure 2. The Class Diagram for the iPhone application named FirstApp. Here the custom classes point towards built-in classes and a protocol. The application delegate implements UIApplicationDelegate protocol and the main view is based on UITableViewController.

Explanation for the Source Code

 
Take the Test
Start the Test:
Source Code of First iPhone Application Explained
Read the Article
Go to Article:
Source Code of First iPhone Application Explained
Review Answers for Questions in this Test
Article Series
Previous Article:
Source Code of First iPhone Application Explained
This article is part of the Series:
Article Series: Getting started with iPhone development
Next Article:
Understanding a Typical main Method in Objective-C for iPhone Development
Bookmark and Share This

More Articles With Similar Tags
This is a test on the article that gives a quick overview of the development tools installed with iPhone SDK. These tools include Xcode, Interface Builder, Instruments, and iPhone Simulator. In the article, Dash Code, which is used to build web applications for iPhone is also introduced. GDB, the open source debugger, is discussed there as well.
icon-xcode-groups-files.jpg
This article discusses various parts of the Project window inside an Xcode project. It also gives a quick overview of the Groups and Files navigation window. The Run menu, the default toolbar, and the built-in source editor are also discussed.
This is a test on the article that discusses various parts of the Project window inside an Xcode project. It also gives a quick overview of the Groups and Files navigation window. The Run menu, the default toolbar, and the built-in source editor are also discussed.
icon-xcode-interface-builder-connection-panel.jpg
This article explains the user interface files of an iPhone application. Explains the contents of the .xib files, which store the user interface. Goes through the various windows (Document Window, User Interface Window, Inspector Window, Library Window, Connections Panel) of the Interface Builder. The example used is a simple navigation-based iPhone application.
This is a test on the article that explains the user interface files of an iPhone application. It explains the contents of the .xib files, which store the user interface. Goes through the various windows (Document Window, User Interface Window, Inspector Window, Library Window, Connections Panel) of the Interface Builder. The example used is a simple navigation-based iPhone application.
About  Contact  Privacy Policy  Site Map