Earthquakes is a simple app that shows last earthquakes of the world
Run the application and pull to refresh the tableview.
- The app first checks availability of coredata and shows an alert to user if the availability failed. The app retries this task if user selects try again button.
- Then by pulling to refresh tableview the app fetches earthquake data, parses and stores them to the Core Data and reloads tableview using FetchedResultsController.
The app uses LocationCondition to check users location requesting is available and gets user location using LocationOperation to show distance of the user's location to the place of the earthquake.
The app used MutuallyExclusive() for showing alerts and viewcontrollers to prevent from multiple presentation of them at the same time.