Learn to write reusable code with functions and organize your programs using object-oriented programming concepts.
Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.
Functions and object-oriented programming are key concepts for organizing and reusing code. They help you write cleaner, more maintainable programs that are easier to understand and modify.
In this unit, you’ll learn to write reusable code with Swift functions and organize your programs using object-oriented concepts. We’ll cover function syntax, parameters and return values, closures, and then move into classes, structs, protocols, and inheritance.
These concepts form the backbone of Swift application development and are essential for building well-structured iOS and macOS applications.
Lessons in this unit:
| 0: | ▶︎ Introduction |
| 1: | Functions |
| 2: | Optionals and Nil |
| 3: | Enumerations |
| 4: | Structures |
| 5: | Classes |
| 6: | Objects |
| 7: | Protocols |
| 8: | Modules |