Temperature Calculation Application In iPhone

This is a temperature calculation application. Its very simple example. In our application we input tempature value and it convert into fahrenheit value as well as celsius value.

Read More...

Use NSTimer In iPhone

We create a small project using NSTimers.Its simple to use in a application. For random movement we are use timer.

Read More...

Playing Video File In iPhone

Let’s start by looking at a short video of the application. The basic idea to make this work is simple, your video content viewable in your simulator.

Read More...

UITextField Use In iPhone

This is simple programming where you can see how to put a UITextField in a UIAlertView. This is simple and just a couple lines of code.

Read More...

Collision Detection In iPhone?

collision detection is implimented in our application. This is the Ball to Ball collision detection. Whenever the balls collide at an angle their velocity increases dramatically.

Read More...

How To Implement Touch Function In iPhone?

We are going to build a little application that will give you a better feel for when the four touch responder methods get called.

Read More...

How To Use Gestures In iPhone Application?

The application we are about to build does nothing more than detect swipes, both horizontal and vertical. Swipes will display a message across the top of the screen for a few seconds informing you swipe was detected. We are going to define a minimum gesture length in pixels, which is how far the user has to swipe before the gesture counts as a swipe.

Read More...

How To Use Table View Cells In iPhone?

To show how to use custom cells, we’re going to create a new application with another table view, and we,re going to display two lines of information to the user. our application will display the name and color. We’ll display both of those information in the same table cell by adding subviews to the table view cell.

Read More...

How To Define Custom Gestures In iPhone?

Defining a custom gesture is tricky. The tricky part is being flexible when defining what constitutes a gesture . In our sample, we’re going to define a gesture shaped like a check mark.

Read More...

How To Detect Pinch In iPhone?

Detecting Pinch is pretty easy. First, when the gesture begins, we check to make sure there are two touches,because pinches are two-finger gestures. If there are two , we store the distance between them. Then as the gesture progresses, we keep checking the distance between the user’s fingers, and if the distance increases or discreases more than a certain amount , we know there’s been a pinch.

Read More...