Absolute Beginner’s Guide to iPhone Development | Getting Started with iPhone Development | Hello World iPhone Tutorial. This tutorial is focused on getting “Hello World” application running on iPhone simulator. 10 Easy step Tutorial to create your hello world iPhone application.
Basic Questions before You start iPhone Development
One person from India asked me few question for iPhone development and below you can find answer’s to those questions. If you have any question regarding iPhone Development, please add in comments and I will try to response them.
1) i am not registered developer so far, i will be registered with in 2,3 dayes.. so […]
iPhone Tutorial for Retrieving Contact information from AddressBook
Introduction
In this tutorial I will explain how you can retrieve a Contact(s) from your AddressBook (in iPhone) though coding. In iPhone you can retrieve contact information stored in address book easier then you can think. You can retrieve their pictures (photos), email address(es) and anything user stored in AddressBook. Note: iPhone provided easy access to […]
Introduction
iPhone SDK did not gives you full control over iPhone functionality. But there are few things you can do using iPhone SDK, like, you can dial a number from your application, you can open an email and SMS client from your application.
Request Full Filled
This tutorial is for Sudha who requested for this in “Request iPhone […]
This tutorial will explain, how you can change the UITableView data. In this tutorial, I will add, delete and re-order rows in UITableView. I will be using navigation code here.
I am going to write series of UITableView tutorials (Video Tutorials as well). My target is to make the customized UITableView using UITableViewCell which is requested on “Request Tutorial” page. Following are the list of tutorials, which I will be posting on this blog:
[Note: If you want more tutorials on UITableView or UITableViewCell, then add a comment on “Request Tutorial” Page]
Idea of this tutorial:
UITableViewCell tutorial will explain how you can use UITableViewCell in UITableView. Custom UITableViewCell using Interface builder makes table view design very easy. Using UITableViewCell gives you lot of customization over the design of each row. You can easily reduce number of code lines by using UITableViewCell (i.e reduce customization code and easy to manage your table). There are few things which are little hard to do using UITableView but using UITableViewCell they are easily manageable i.e you can manage your cell code in a separate class, you can change the design of cell using nib files more easily then writing codes. So in my point of view, custom UITableViewCell using Interface builder makes your life more easy while developing applications for iPhone.
So in this tutorial, i will write only UITableViewCell and link it with UITableView. I will be using part 2 code, which you can grab from here. Final output of this code will be same as part two but to change the design on table will be really simple. You can watch the video tutorial at the end to skip all the text.
customize UITableView using UITableViewCell
Steps to follow
Follow these steps to achieve the output like above:
Step 1: Open the SimpleTable project in Xcode (you can grab this code from here. [Note: I am using UITableView part 2 code here]). In Xcode, ‘Group and Panel’ right click on classes, select >Add> New File..>. Now select UITableViewCell and name it ‘TableViewCell’, press finished.
Add UITableViewCell Select UITableViewCell from wizard
Name the UITableViewCell class
Step 2: Now in ‘TableViewCell.h’ file add following code before @end and after #import:
Step 6: Now open NextView.xib file from your Xcode project. Press cmd + shift + s to save as this file, and give it a name TableViewCell and ‘Add’ to ‘SimpleTable’ project:
Save As nib file
Name UITableViewCell xib file Save nib file
Step 7: Now in TableViewCell.xib file, select ‘View’ and then select Edit>Delete (or press ‘back space’ button) to remove the View from xib file
Remove View from TableCellView.xib Deleted View from TableCellView
Step 8: Now press cmd + shift + l to open Library. Drag ‘Table View Cell’ to ‘TableViewCell.xib’ file. Select ‘Table View Cell’ and press cmd + 4 and write ‘TableCellView’ in class and press cmd + 1 and write ‘tblCellView’ in Identifier.
Add UITableViewCell to nib file Assign Class to Table Cell View
Add Identifier to Table Cell View
Step 9: Now select ‘Files Owner’ and press cmd + 4 and type ‘SimpleTableViewController’ in class. Also press cmd + 2 and drag tblCell to ‘Table View Cell’ like in the below picture:
Give class name to File’s Owner
Map UITableViewCell to Table View Controller
Step 10: Now drag a label inside UITableViewCell and select ‘TableViewCell’, drag cellText with label.
Map Label
Step 11: Save the interface builder and your code. Run the application and you will see the output like this:
Custom UITableViewCell Output
Looked at bottom pictures to change the color of labels and cell Accessory:
Change Table Cell View Accessory
Change Label Text colour
Label Colour text change
Run the application and you will see the final output.
Introduction:
Some people asked me about creating a splash screen in iPhone. So today I am going to write a simple tutorial on creating splash view for your application. I will write another post on good looking splash page as well. Its really a small thing but have a really good impact on your users.
I am going to write series of UITableView tutorials for iPhone (Video Tutorials as well) to help developers and programmers to make a new applications for Apple store. This series of tutorials help you create/build iPhone applications more easily and fast. Following are the list of iPhone tutorials, which I will be posting on this blog:
In my last iPhone tutorial on table, I explain how you can easily design table using UITableViewCell. In this tutorial, I will explain how you can add images and labels to your UITableView. So in this tutorial, i will add few lines in UITableViewCell class and add images to cell xib file.
Final output of this tutorial will look like this. You can watch the video tutorial at the end.
Table design using Interface builder
iphone programming tutorial steps to follow (10 Steps to add pictures):
Follow these steps to achieve the output like above:
Step 1:Open the last tutorial code (You can grab this code from here) and add following 6 images to your project resources folder by dragging in to xcode.
add images to iPhone resource folder
Please make sure, copy check box is selected
Step 2: Now open TableCellView.h file and add one Label & UIImageView
In this tutorial I will walk to you through creating a simple “Hello World” application using interface builder. There are many ways that a Hello World program could be made on the iPhone, I am going to show you the simplest.