As we want to display only the names of the customers in the table view, in the cell AtIndexPath
method, we retrieve the managed object from the fetchedResultsController
instance. The NSFetchedResultsController
stores the set of entities from an NSManagedObjectContext
(retrieved on the basis of FetchRequest)
. Then the value stored in the name attribute of the managed object is assigned to the table cell for display.
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