Mobile App Dev 2021W: Tutorial 1: Difference between revisions
Created page with "'''This tutorial is still being developed.''' In this tutorial you will extend and study a simple app for temperature conversion. ==Getting Started== First, you should Mo..." |
No edit summary |
||
Line 14: | Line 14: | ||
Make sure you can run the project in the simulator. | Make sure you can run the project in the simulator. | ||
==Code== | |||
[https://homeostasis.scs.carleton.ca/~soma/mad-2021w/code converter-1.zip] | |||
===converter-1/ContentView.swift=== | |||
<source lang="swift" line> | |||
import | |||
</source> |
Revision as of 05:42, 17 January 2021
This tutorial is still being developed.
In this tutorial you will extend and study a simple app for temperature conversion.
Getting Started
First, you should configure your Xcode environment and make sure you can successfully run an automatically generated hello world program. Once that all works, move on to the exercises below.
Download Converter-1
Download converter-1.zip and unpack it in your code directory. Open the project in Xcode. It should look similar to the hello world program you created previously, except this one has a bit more code. When you refresh the preview, it should look like the following:
Add picture of loaded project
Make sure you can run the project in the simulator.
Code
converter-1/ContentView.swift
import