Introduction
In this article we create a single-view application. Here we use a text field, button and label from outlets. In this app we take input from the keyboard in Fahrenheit and converts it to Celsius. To understand it we follow these steps.
Step 1
Open XCode by double-clicking on it.
Step 2
Create a New XCode Project via click on it.
Step 3
Now select Single View Application and click on Next.
Step 4
Now give your Product Name and Company Identifier then click on Next.
Step 5
Select the location where you want to save your project and click on Create.
Step 6
Here we write code:
Step 7
Now perform the connection between outlets.
Step 8
Now select which platform you want to see output for.
Output
Output 1 in iPhone:
Output 2 in iPhone:
Output 3 in iPhone: