PeakNetwork is a Swift networking microframework, built on top of Session
and leveraging the power of Codable
.
Examples
Please see the included sample project (Examples/PeakNetworkExamples.xcworkspace
) for examples and a suggested structure for your networking code.
Please see the tests for further examples.
Getting Started
Installing
- Using Cocoapods, add
pod 'PeakNetwork'
to your Podfile. import PeakNetwork
where necessary.
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- rhodgkins/SwiftHTTPStatusCodes
- Mocking Classes You Don't Own by Joe Masilotti
Peak Framework
The Peak Framework is a collection of open-source microframeworks created by the team at 3Squared, named for the Peak District. It is made up of:
Name | Description |
---|---|
PeakCoreData | Provides enhances and conveniences to Core Data . |
PeakOperation | Provides enhancement and conveniences to Operation , making use of the Result type. |