UtilityBelt-iOS
UtilityBelt is a collection of utilities used across various applications and libraries.
⚠️ The code in this library has been provided as-is. SpotHero uses this library in Production, but it may lack the documentation, stability, and functionality necessary to support external use. While we work on improving this codebase, use this library at your own risk and please reach out if you have any questions or feedback.
Installation
Swift Package Manager
Swift Package Manager is built into the Swift toolchain and is our preferred way of integrating the SDK.
For Swift package projects, simply add the following line to your Package.swift
file in the dependencies
section:
dependencies: [
.package(url: "https://github.com/spothero/UtilityBelt-iOS", .upToNextMajor(from: "<version>")),
]
For app projects, simply follow the Apple documentation on adding package dependencies to your app.
Libraries
UtilityBelt contains the following libraries:
- UtilityBeltNetworking: A lightweight HTTP client.
- Sham: A tool to enable mocking network requests.
- Sham_XCTestSupport: Sham extensions for XCTest.
Communication
For all bug reports, feature requests, and general communication, please open an issue to get in contact with us.