Level 2 — Intermediate
These lessons cover structs and classes, enums, protocols, extensions, generics, error handling, Codable and JSON, networking, Swift Package Manager, and testing. Recommended: the Level 1 lessons, especially optionals, collections, functions, and closures.
Lessons in this module
- 1. Structs 6 min
- 2. Properties: Stored, Computed, and Observed 6 min
- 3. Methods and mutating 5 min
- 4. Initializers 5 min
- 5. Classes and Reference Types 6 min
- 6. Structs vs Classes 5 min
- 7. Inheritance 5 min
- 8. Enums 5 min
- 9. Enums with Associated Values 5 min
- 10. Protocols 6 min
- 11. Extensions 5 min
- 12. Generics 6 min
- 13. Access Control 4 min
- 14. Error Handling 7 min
- 15. Optional Chaining and Optional Patterns 5 min
- 16. Working with Collections 6 min
- 17. Codable and JSON 6 min
- 18. Swift Package Manager 6 min
- 19. Networking with URLSession 6 min
- 20. Files and FileManager 5 min
- 21. Dates and Formatting 5 min
- 22. Testing with Swift Testing and XCTest 6 min
- 23. Debugging Swift 5 min
- 24. Code Organization and Style Tools 5 min