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...
Argentina
Australia
Austria
Belgium
Brazil
Bulgaria
Canada
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
France
Germany
Great Britain
Greece
Hungary
India
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Russia
Singapore
Slovakia
Slovenia
South Africa
South Korea
Spain
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine
United States