-
Book Overview & Buying
-
Table Of Contents
Core Data iOS Essentials
The didSelectRowAtIndexPath method is for displaying the detailed information of the selected customer name from the table view. An instance of the DisplayCustomerController by the name: displaycust is initialized. The managed object context is retrieved from the fetchedResultsController (it is the object that is returned by calling the objectAtIndexPath on the fetched results controller and passing in the indexPath parameter to it) and is assigned to an instance: selectedcust of the Customer class. That is, the information of the customer whose name is selected from the table view is assigned to the selectedcust instance. The contents of the selectedcust are assigned to the cust object of displaycust (instance of the DisplayCustomerController class) as we want the information of the customer to be displayed via Text Field controls placed in the View of the DisplayCustomerController class. The view controller instance: displaycust is then pushed on the navigation...
Change the font size
Change margin width
Change background colour