{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: The directory structure and file types of iPhone application projects explained
Summary
This is a test on the article that discusses the directory structure and the files created in a sample first iPhone application. The file types discussed include .h, .m, .xib, and other common extensions that a programmer would directly deal with. File types like .pch, .xcodeproj, .plist, .framework that are indirectly (or less frequently) worked on by a programmer are also discussed.
 
Table of Contents

Creation of the first iPhone application

The Directory Structure

Figure 1. The Grouping of various iPhone project files in the Groups & Files window of Xcode.

Figure 2. The directory structure of first iPhone application. This is a simple Navigation-Based application.

The File Types

Files that are used more often by the Developer

Source Files

The User Interface Files

Project-related Files

The Project File

Code Listing 1. The .xcodeproj is actually a directory (see the d for directory at the beginning of the entry)

Code Listing 2. The contents of the .xcodproj file package

Figure 3. Viewing the package contents from Finder. Right-click on the File Package and if it is a file package, you will see Show Package Contents menu item.

The Information Property List File

Code Listing 3. The Info.plist file for FirstApp.

The Precompiled Header File (Precompiled Prefix Header File)

Code Listing 4. Contents of the precompiled prefix header file.

Framework and Library Files

Figure 4. The information about UIKit.framework.

Figure 5. The contents of UIKit.framework

Executable Files

Figure 6. Contents of an .app file package. You can see that the .nib files (binary versions of .xib files) are also included.

Root Directory

The Classes directory

The Build Directory

 
Take the Test
Start the Test:
The directory structure and file types of iPhone application projects explained
Read the Article
Go to Article:
The directory structure and file types of iPhone application projects explained
Review Answers for Questions in this Test
Article Series
Previous Article:
The directory structure and file types of iPhone application projects explained
This article is part of the Series:
Article Series: Getting started with iPhone development
Next Article:
Understanding the Workspace of an Xcode project
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