- Use an abstract networking layer
- Use a functional module for your requests
- 92.4 % Test coverage
- Keep networking simple
- NetworkRequestFactory protocol:
- URLRequest Additions:
- Parameter Encoding
- Host Environment protocol sample
- Authentication protocol
- Certificate Pinning
- iOS 12.0+
- WatchOS 5.0+
- TvOS 12.0+
- MacOS 10.14+
- Xcode 10.2+
- Swift 5+
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks. To integrate QuickHatch into your Xcode project using Carthage, specify it in your
git "https://github.com/dkoster95/QuickHatchSwift.git" "1.1.7"
carthage update to build the framework (you can specify the platform) and then drag the executable
QuickHatch.framework into your Xcode project.
Swift Package Manager
QuickHatch has support for SPM, you just need to go to Xcode in the menu File/Swift Packages/Add package dependency and you select the version of QuickHatch.
No Package manager? no problem, you can use QuickHatch as a git submodule
Open up Terminal,
cdinto your top-level project directory, and run the following command "if" your project is not initialized as a git repository:
$ git init
Add QuickHatch as a git submodule by running the following command:
$ git submodule add https://github.com/dkoster95/QuickHatchSwift.git
Open the new
QuickHatchfolder, and drag the
QuickHatch.xcodeprojinto the Project Navigator of your application's Xcode project.
It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.
QuickHatch.xcodeprojin the Project Navigator and verify the deployment target matches that of your application target.
And that's it!
You may find interesting
Combine Feature - 2020-10-12 16:18:50
bugfix for string request - 2020-10-05 19:06:43
Combine Data Request and bump macOS and iOS versions - 2020-10-05 15:28:27
Bug fix Request Error - 2020-09-22 00:31:11
Auth Bug Fix - 2020-09-17 16:16:56
1.1.3 Certificate Pinning Feature - 2020-09-17 15:39:04
version 1.1.2 - 2020-04-14 15:34:11
QuickHatch Supported for WatchOS, iOS, MacOS and TvOS - 2020-01-17 21:10:35
Command Module Refactored, QuickHatch supported for MacOS and WatchOS - 2020-01-17 18:22:45
TrafficController no has 2 implementations: Set and MultiSet CommandModule no longer supports result completionHandler Framework available for WatchOs and MacOS