Module 3 of 3 in Your First iOS App: An App From Scratch
Your First iOS App: Coding in Swift
Module outcomes
- Use Swift Standard Library functionality while building app logic.
- Validate Swift code with unit tests and test-driven development.
- Control program flow and model values with if/else statements, variables, constants, and type inference.
Covered concepts
- Swift Standard Library
- Unit testing
- Test-driven development
- If/else statements
- Variables, constants & type inference
Module content
1
The Swift Standard Library
Lesson (5 mins)
1
The Swift Standard Library
Lesson (5 mins)
2
Intro to Unit Testing
Lesson (8 mins)
2
Intro to Unit Testing
Lesson (8 mins)
3
Intro to Test-Driven Development
Lesson (4 mins)
3
Intro to Test-Driven Development
Lesson (4 mins)
4
Challenge: How to Calculate the Difference
Lesson (3 mins)
4
Challenge: How to Calculate the Difference
Lesson (3 mins)
5
If Else Statements
Lesson (4 mins)
5
If Else Statements
Lesson (4 mins)
6
Challenge: Calculate the Difference
Lesson (2 mins)
6
Challenge: Calculate the Difference
Lesson (2 mins)
7
Variables & Constants
Lesson (5 mins)
7
Variables & Constants
Lesson (5 mins)
8
Type Inference
Lesson (8 mins)
8
Type Inference
Lesson (8 mins)