Introduction
In this article I will create a small app In this we use sma all square shaped box which performs an animation when we click on the device screen. To understand it we use the following.
Step 1
Open XCode by double-clicking on it.
![xcode-in-iphone.jpg]()
Step 2
Create a New XCode Project via click on it.
![create-project-in-iphone.jpg]()
Step 3
Now select Single View Application and click on Next.
![single-view-application-in-iphone.jpg]()
Step 4
Now give your Product Name and Company Identifier then click on Next.
![PROJECT-NAME-IN-IpHONE.jpg]()
Step 5
Select the location where you want to save your project and click on Create.
![save-project-location-in-iphone.jpg]()
Step 6
Here we write code:
![ViewController.h-in-iPhone.jpg]()
![ViewController.m-in-iPhone.jpg]()
Step 7
Now select which platform you want to see output for.
![run-in-iPhone.jpg]()
Output
Output in iPhone:
![output1-in-iPhone.jpg]()
![output2-in-iPhone.jpg]()
![output3-in-iPhone.jpg]()
Output in iPad:
![output1-in-iPad.jpg]()
![output2-in-iPad.jpg]()
![output3-in-iPad.jpg]()