Thanks for visiting Auto Mechanic Tools. Please remember to bookmark this page Tools Nib. If you found what your looking for, then don"t forget to click an appreciation button below for this post.
Tools Nib
Mobile app development
We started talking about Xcode in the precious article
Xcode
The main tool you use to create applications for iPhone OS is Xcode—Apple's IDE (integrated development environment). You can also use it to create a variety of other project types, including Cocoa and command-line utilities.
Launch Xcode (by default it's in /Developer/Applications), then create a new project by choosing File > New Project. You should see a new window similar to this:
>> Select the Window-Based Application.
In the Product popup menu, make sure iPhone is selected. (Do not select the option to use Core Data for storage. You don't use Core Data in this example.)
>> Click Choose.
A sheet appears to allow you to select where your project will be saved.
>> Select a suitable location for your project (such as the Desktop or a custom Projects directory), then give the project a name—HelloWorld—and click Save.
The remainder of the tutorial assumes that you named the project HelloWorld, so the application delegate class is called HelloWorldAppDelegate. If you name your project something else, then the application delegate class will be called YourProjectNameAppDelegate.
You should see a new project window like this:
f you haven't used Xcode before, take a moment to explore the application. You should read Xcode Workspace Guide to understand the organization of the project window and how to perform basic tasks like editing and saving files. You can now build and run the application to see what the Simulator looks like.
>> Choose Build > Build and Go (Run) or click the Build and Go button in the toolbar.
The iPhone Simulator application should launch automatically, and when your application starts up you should simply see a white screen. To understand where the white screen came from, you need to understand how the application starts up.
>> Quit the Simulator.
Application Bootstrapping
The template project you created already sets up the basic application environment. It creates an application object, connects to the window server, establishes the run loop, and so on. Most of the work is done by the UIApplicationMain function as illustrated in Figure below
The main function in main.m calls the UIApplicationMain function:
int retVal = UIApplicationMain(argc, argv, nil, nil);
This creates an instance of UIApplication. It also scans the application's Info.plist property list file. The Info.plist file is a dictionary that contains information about the application such as its name and icon. It may contain the name of the nib file the application object should load, specified by the NSMainNibFile key. Nib files contain an archive of user interface elements and other objects—you'll learn more about them later in the tutorial. In your project's Info.plist file you should see:
<key>NSMainNibFile</key>
<string>MainWindow</string>
This means that when the application launches, the MainWindow nib file is loaded.
>> To look at the nib file, double-click MainWindow.xib in the Resources group in the project window (the file has the extension "xib" but by convention it is referred to as a "nib file"). Interface Builder launches and opens the file.
Continued to next article: iPhone application development
For more information on<a href="</strong>http://www.asglobal.co.uk/iPhone_apps.html<strong>"> Mobile app development </a> you can visit our web site http://www.asglobal.co.uk/iPhone_apps.html
About the Author
Hi, this is Rakesh Mishra from Indian SEO, we provide SEO solutions to 100+ clients, from different countries like: US, UK, China, India. To know more details about the services please go through our website: http://www.indian-seo.com.

If you are looking for a different item here are a list of related products on Auto Mechanic Tools, please check out the following:




























































































