Learn how to build apps : We are going to build an App. A practical, fun and simple App. No programming background needed. You will design, code and test using Xcode , Apple’s IDE. Swift Programming Language Tutorial : App – Temperature Conversion : Ideal for beginners
References for Video:
In this video we will develop a simple and useful app that does temperature conversion calculations.
As you guys know, there are 2 popular temperature scales: Fahrenheit, named after the German-Dutch physicist Daniel
Gabriel Fahrenheit AND Celsius, named after the Swedish astronomer Anders Celsius.
Now most countries have adopted Celsius as their temperature scale. However some like the Bahamas, Cayman Islands and the Unit
ed States continue to use the Fahrenheit.
And because of this, many a time, we need to convert from one scale to another.
So our app will look something like this.
It will allow the user to enter a temperature in Celsius and on clicking a button, convert it to Fahrenheit.
Am going to keep this app very simple since the objective is to give you a quick tour of App creation in SWIFT.
We will learn how to design the look of our app by adding labels, text fields, buttons Etc.
We will also learn how to attach these elements to code.
Code that will help us do something useful like convert a temperature, as in this case.
Ok, you have seen the end result. But what do you need to start?
Well You need a computer running Xcode, Apple’s Integrated Development environment or IDE.
This is what is needed to create our App.
And yes, you need a good bit of inquisitiveness. That will be smashing.
And no, you do not need a background in Programming.
So the first thing we will do is write the pseudocode and then code of our application.
And for this lets head over to the playground.
// get user input: c
var celsius:Int = 10
//formula : c to f
// 5f = 9c + 160
//output : f
var fah:Int = ( 9 * celsius + 160 ) / 5
Microphone : Samson Meteor + Blue Yeti
Voice Editor : Audacity
Animation : Sparkol Video scribe
Illustrations: funza Academy + openclipart.org
Video editor + SFX : iMovie + ScreenFlow
Pop Filter : A Clean Sock !
Computer : MacBook Air
Individuals involved in Video:
Sanjay Noronha, Preeti Kaul