Chapter    6

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, ...

Get iOS eCommerce App Development with Parse now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.