Swift Package where I keep my custom classes, extensions and other files that help me during the development of my iOS projects.
The Swiss Army Knife is currently divided in 3 packages:
- RestFactory: to make HTTP requests and process the responses.
- GraphqlFactory: to make GraphQL requests and process the responses.
- DateDecodingStrategy.iso8601Complete: a full decoding implementation of date ISO8601.
- Duration: enum that makes time conversions easier.
- Inject: property wrappers that can used to do setter based dependency injection.
- Lazy: lazily initialize a view, allocation it only when it's needed.
This project uses SwiftFormat to keep the code formatted and SwiftLint to follow best practices. To format and lint the code, run the command below in the project's root folder:
$ swiftformat . && swiftlint
Vinicius Egidio (vinicius.io)