Chapter 5
Product Category
The Beauty & Me sample app that accompanies this book presents products to users in a traditional way. First of all, we let users sell all brands we are carrying. If you don’t know any brand, I will make up some, such as Origins, NUDE Skincare, etc. Under each brand, we have all products. When a user selects a product, the app displays the product detail. This chapter introduces the brand, or a more general name, product category.
In iOS app development, Model-View-Controller (MVC) is a widely used design pattern. I have structured the remaining chapters such that they follow this MVC pattern: first, I present the models used for implementing the feature discussed, then the views, and finally the controllers when ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access