Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afterxleep/wirekit
A simple Swift Networking library for consuming REST API's
https://github.com/afterxleep/wirekit
ios library macos networking swift tvos watchos
Last synced: 2 months ago
JSON representation
A simple Swift Networking library for consuming REST API's
- Host: GitHub
- URL: https://github.com/afterxleep/wirekit
- Owner: afterxleep
- License: mit
- Created: 2020-12-18T02:34:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-12T16:20:40.000Z (10 months ago)
- Last Synced: 2024-03-12T17:42:40.854Z (10 months ago)
- Topics: ios, library, macos, networking, swift, tvos, watchos
- Language: Swift
- Homepage:
- Size: 85 KB
- Stars: 28
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WireKit
![Swift](https://github.com/afterxleep/WireKit/workflows/Swift/badge.svg?branch=main)
A simple networking library using modern async/await and URLSession.
WireKit is designed to facilitate consumption of RestFul APIs and takes care of fetching and decoding JSON data, gracefully handling errors so you can focus on what's important in your app.
## Features
- Super simple configuration
- Simple REST API consumption
- Automatic JSON encoding/decoding via Codable
- Combine backed async requests
- Easy error handling## Requirements
- iOS 15+ / macOS 10.15+ / tvOS 13.0+ / watchOS 5.0+
- Xcode 14+
- Swift 5.5+## Installation
### Swift Package Manager
The fastest way to install is via SPM. Just add a new package using this repo URL and point it to the current Major Version
Versioning and support for other package managers (Cocoapods & Carthage) coming soon.
## Sample App
The [Example application](docs/ExampleApp) is a simple Todo List app that leverages Wirekit to easily fetch and manage items.## Usage
Check out the [Quick Start guide](docs/quickStart.md)
## WKRequest
Futher documentation for advanced use of WKRequest is [also available.](docs/wkrequest.md)