In this PR, the legacy DataSource class is replaced with the new one and all view controllers are updated to be compatible to use the new DataSource implementation.
Therefore, all model objects needed to be converted to extend Decodable.
Other than that, all irrelevant and unused legacy codes are being removed from the project.
Changes
DataSource replacement.
Removal of legacy code: Collectable, CollectableGroup, CollectableCollection, and Requirement.
Conversions of all model objects to extend Decodable.
Removal of legacy data fetching property in RevertItems.
ItemSection addition to handle data in ControlsViewController and AlertViewController.
MapLocation addition to represent each annotation from MapLocations.plist.
Simplify MapAnnotationView initiation and get rid of the legacy data fetching configuration.
About
This is the continuation of PR #59.
In this PR, the legacy
DataSource
class is replaced with the new one and all view controllers are updated to be compatible to use the newDataSource
implementation.Therefore, all model objects needed to be converted to extend
Decodable
.Other than that, all irrelevant and unused legacy codes are being removed from the project.
Changes
DataSource
replacement.Collectable
,CollectableGroup
,CollectableCollection
, andRequirement
.Decodable
.RevertItems
.ItemSection
addition to handle data inControlsViewController
andAlertViewController
.MapLocation
addition to represent each annotation fromMapLocations.plist
.MapAnnotationView
initiation and get rid of the legacy data fetching configuration.