In this module, we will learn how to create a Product's menu that contains several buttons, which can be invoked to see the information of the products sold to the selected customer, to add more products, and to delete existing products.
The steps involved in developing this module are as follows:
1. Adding the
ViewController
class:ProductInfoController
class to display the Product's menu to manipulate the product's information.2. Defining the outlets and action methods in the header file:
ProductInfoController.h
.3. Designing the View of the
ProductInfoController
class and connecting the controls.4. Coding in the implementation file:
ProductInfoController.m
to save, edit, and display the product's information.