Reflection post
Project Specifications
Note-worthy:
- This is iOS first project that will be built from scratch.
Logic
- IMPORTANT:
- Units will be rounded to the nearby tenth place.
- Examples:
- 100.2913 ~= 100.3
- 0.12 ~= 0.1
- Examples:
- Units will be rounded to the nearby tenth place.
- Pick a type of unit conversion
- Volume conversion:
- milliliter (mL)
- Use this as basis.
- liter (L)
- cup (C)
- pint (pt)
- gallon (gal)
- milliliter (mL)
- Write conversions:
-
mL to L
-
mL to C
-
mL to pt
-
mL to gal
-
L to mL
-
C to mL
-
pt to mL
-
gal to mL
-
- Volume conversion:
User Interface
- Created private variables
- Segmented control (from)
- Header: "Convert from"
- Segmented control (to)
- Header: "Convert to"
- textField where user inputs number
- What is the amount you're converting?
- Text (when empty) should state "Amount"
- Text where it has the result of conversion
- Header: "Result/conversion"