-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Core Data iOS Essentials
We will create a class with the name SearchProductController that will be invoked from the product menu (ProductInfoController) and which will retrieve all the rows from the MasterProduct entity to display the list of products available for the same. Not only this, the class will also display a Search Bar at the top allowing us to quickly search the product. On selecting any product from the SearchProductController, we will be navigated to the view of AddProductController where the product name and its price will be automatically displayed and we just have to enter the quantity of the product sold to the customer.
The steps required in implementing the search facility for the products sold to the customers are as follows:
1. Adding the SearchProductController class.
2. Designing the view of the SearchProductController.
3. Coding in the SearchProductController class.
4. Invoking the SearchProductController from the Product menu.
5. Displaying name, price...
Change the font size
Change margin width
Change background colour