I phone-classes-in-navi-mumbai,best I phone-classes in-navi-mumbai,I phone
course-provider-in-navi-mumbai,I phone training-in-navi-mumbai,best
I phone-training-in-navi-mumbai
B2/6/2 Navi Mumbai, Vashi Sector 15
For further details contact :09892900103 / 09892900173
Email:enquiry@vibrantgroup.co.in
2. iphonetraining .vibranttechnologies.co.in
Create a New Navigation Based
Application
Open XCode from Toolbar and select XCode -> New Project option to pop up a new project
window. Select iPhoneOS and click Navigation-based Application and click choose to enter
your project name. I named this project as “HelloWorld”.
B2/6/2 Vashi ,Navi Mumbai,
Contact:09892900103/9892900173
iphonetraining .vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
3. iphonetraining .vibranttechnologies.co.in
•HelloWorld.app: This is the application file that contains the app information
for installation.
•HelloWorldAppDelegate.h: It’s a header file that consists of variable
definitions that we are going to use in our application. It delegates the
information to views or controllers.
•HelloWorldAppDelegate.m: The object of this class is instantiated
by main.m file. Your application loading starts here.
•HelloWorld_prefix.pch: This is a pre-compiled header file that consists of
method definitions used in included libraries. There is no need to include this
in every file.
•Main.m: This is like any other program main file. It instantiates all of our
objects and triggers the program. There is no need to edit this file.
•Info.plist: It’s a Meta file that contains application information. There is no
need to edit this file also.
CoreGraphics, Foundation and UIKit frameworks: Apple iPhone SDK
provides set of libraries for iPhone basic framework, UI and Graphics.
B2/6/2 Vashi ,Navi Mumbai,
Contact:09892900103/9892900173
iphonetraining .vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
4. iphonetraining .vibranttechnologies.co.in
•MainWindow.xib: This is an Interface Builder file, designer mode of the interface of main window.
•RootViewContrller.h and RootViewController.m: iPhone SDK creates a sample navigation interface for you with
a Table View, because most navigation based applications use Table View. These files are controllers for the main
window and table view.
•RootViewController.xib: An interface builder file with a table with rows and columns. Designer file
ofRootViewController. We use this table to display “HelloWorld” text.
B2/6/2 Vashi ,Navi Mumbai,
Contact:09892900103/9892900173
iphonetraining .vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
5. iphonetraining .vibranttechnologies.co.in
Update UITableView Cells to Display
"HelloWorld"
•RootViewController.m: Open RootViewController.m file which is a controller file attached to the
application main view. The functions in this file are overridden from table view class. By editing
these table view related functions, we can achieve our goal.
•Function numberOfRowsInSection: This function is used to declare the number of rows in our
table. For our current application, one row is fine. The number next to the return keyword defines the
number of rows. Edit the following function like below:
B2/6/2 Vashi ,Navi Mumbai,
Contact:09892900103/9892900173
iphonetraining .vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
6. iphonetraining .vibranttechnologies.co.in
Function:cellForRowAtIndexPath
When a row is displayed this function will be called, for each and every row this function
call will happen. In this function, we will define the content to be displayed
“HelloWorld”.
This function gets called once for every row. This is where we define what content to
display in a given row. In this case, we want the row to be a string that says “Hello
World”.
B2/6/2 Vashi ,Navi Mumbai,
Contact:09892900103/9892900173
iphonetraining .vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
8. iphonetraining .vibranttechnologies.co.in
Where to Get More Information
Vibrant Group:
www.vibrantgroup.co.in
Vibrant Technologies & Computers
www.vibranttechnologies.co.in/technologies.vibrantgroup.co.
in
Vibrant HR Team
www.hr.vibrangroup.co.in
B2/6/2 Vashi ,Navi Mumbai,
Contact:09892900103/9892900173
iphonetraining .vibranttechnologies.co.in
enquiry@vibrantgroup.co.in