Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

GitHub / IlijaMihajlovic / Networking-with-REST-API-calls-and-URLSession-Unit-Tests-and-Data-Persistence-in-Core-Data

Networking in Swift with REST API calls and URLSession, that puts the parsed JSON Data from an HTTP based JSON storage endpoint I created into a TableView and persists the data using Core Data with CRUD (create, read, update, and delete). I used also Unit Tests to test URLSession asynchronous network operations and make the project as robust as possible. When the JSON data is parsed into the dynamic TableView cell we can easily delete the cell with a swipe, the TableView will then reload itself with a custom made animation and Core Data will update and save the changes in realtime. There is also an option to send HTTP GET requests to the JSONPlaceholder server. A And last but not least I implemented a settings launcher slide-up menu that slides up from the bottom of the screen when the settings tab bar button is pressed. On the slide-up menu, we have all the functionalities I mentioned above like getting the data from the REST API, filtering the data in the cells using a search bar and sorting them in the right alphabetical order, and also send data to a REST API.

JSON API: https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IlijaMihajlovic%2FNetworking-with-REST-API-calls-and-URLSession-Unit-Tests-and-Data-Persistence-in-Core-Data

Stars: 21
Forks: 21
Open Issues: 0

License: mit
Language: Swift
Repo Size: 69.4 MB
Dependencies: pending

Created: almost 5 years ago
Updated: 8 months ago
Last pushed: over 1 year ago
Last synced: 8 months ago

Topics: codable, core-data, coredata, data-persistance, image-cache, json, networking, pull-to-refresh, rest-api, restful, restful-api, search-bar, slide-menu, swift, swift-4, swift5, swipe-to-delete, tableview, unit-testing, urlsession

Files
    Loading...
    Readme
    Loading...