The Products Screen
In this chapter, you will learn how to implement the Products screen. More specifically, you will learn how to display products and let users search your product list and filter products based on certain criteria. The first thing, however, is to create a product model.
The Product Model
Following the pattern introduced in earlier chapters, specify the model name in the EMABConstants helper class:
NSString *const kProduct= @"Product";
Next, create a new PFObject subclass, and name it “EMABProduct.” If you look at a typical makeup product, you might need a lot of properties to describe a product. For example, EMABProduct model has the following properties: name, unit price, price unit, detail, thumbnail image, ...