Running the application
Let us execute the application by selecting Build and Run. We get a view of the RootViewController
, as shown in the following image (a) with the list of existing customers. We select the Bar Button Item with the title: Master Product Information in the toolbar at the bottom as we are interested in entering the information of the master products. We get a view as shown in the following image (b). The view contains a toolbar with three Bar Button Item controls with the text: Customers List, Edit, and Add respectively.
The function of the three Bar Button Item controls is as follows:
Customers List: This will take us back to the Main View of the application, as shown in the following image (a) from where we can add or edit the customer's information.
Edit: This will allow us to delete the information of any master product. It will work when few master products are added to the list for sale.
Add: This will allow us to add the new master products to the list. It displays...