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.
Open XCode by double-clicking on it.
Create a New XCode Project via click on it.
Now select Single View Application and click on Next.
Now give your Product Name and Company Identifier then click on Next.
Select the location where you want to save your project and click on Create.
Here we write code:
Now perform the connection between outlets.
Now select which platform you want to see output for.
Output 1 in iPhone:
Output 2 in iPhone:
Output 3 in iPhone: