In this module, we will see how to connect the Product's menu (View of the ProductInfoController
class) to the DisplayCustomerController
class (the class that displays information of the selected customer) so that the product's menu can be invoked from there allowing us to enter/edit information of the products sold to the customer.
The steps involved in developing this module are as follows:
1. Defining the outlets and action methods in the header file:
DisplayCustomerController.h
.2. Adding the Toolbar control to the View of the
DisplayCustomerController
class.3. Coding in the implementation file:
DisplayCustomerController.m
to invoke the View of theProductInfoController
class.