Objective
The objective of this exercise is to:
- practice writing code for different layers of an app
- better understand how to record a history of results within an array, keeping that array within the view model
Introduction
Each app below has two layers completed, and one layer missing.
Find a friend in class, and work together to complete each of the apps below, so they function as shown in each video.
Temperature Converter
Here is how the app should work when it is complete:
You can download a copy of this project here – note, however, that the view model is missing.
Your job, together with your partner, is to write the missing view model.
TIP
If you missed this class or would simply like to compare your work on this exercise to a possible solution, here is a video of Mr. Gordon completing this exercise:
Time Converter
Here is how the app should work when it is complete:
You can download a copy of this project here – note, however, that the main view is missing.
Your job, together with your partner, is to write the missing view.
TIP
If you missed this class or would simply like to compare your work on this exercise to a possible solution, here is a video of Mr. Gordon completing this exercise: