Chapter 9
Understanding Struct, Project Organization and Code Documentation
Most good programmers do programming not because they expect to get paid or adulation by the public, but because it is fun to program.
- Linus Torvalds
If you have read from the very beginning of the book and have worked on all the projects, you have come a long way. By now, you should be capable of building a list-based iOS app using SwiftUI. We will continue enhancing the FoodPin app and adding more features. However, before delving deeper into iOS app development and exploring other APIs, I want to introduce you to the basics of Object-Oriented Programming (OOP) and teach you how to write better code.
Don't be scared by the term "Object-Oriented Programming" or OOP for short. It is not a new programming language but rather a programming concept. While some programming books introduce the concept of OOP from the beginning, I intentionally left it out when I started writing this book. My goal was to keep things interesting and show you how to create an app without scaring you away with technical terms or concepts. However, now I believe it is time to discuss OOP. After going through eight chapters and if you are still reading the book, I believe you are determined to learn iOS programming. I also believe that you genuinely want to elevate your programming skills to the next level and become a professional developer.
Okay, let's get started.
To access the full version of the book, please get the full copy here. You will also be able to access the full source code of the project.