Compatibility
- 0.0.6 and master5.35.25.15.04.2
- 0.0.6 and masteriOSmacOS(Intel)macOS(ARM)LinuxtvOSwatchOS
General utility types and functionality
Support code for developing Swift code.
A Utility
namespace for hosting utility functionality withing your app.
Inline functional Applicative
protocol that supports applying a closure to an instance, returning the instance.
Note: Types must conform to the protocol to inherit the behavior, as non-nominal types like Any
cannot be extended.
A stringity error type representing runtime errors.
Enables debugging within method chains and condition cascades.
Request synchronous data using URLSession
.
Result
from a completion handler's (data?, error?)
.PROJECT > Swift Packages > Install:
https://github.com/erica/https://github.com/erica/Swift-General-Utility
SwiftPM:
dependencies: [
.package(url: "https://github.com/erica/Swift-General-Utility", from: "x.x.x"), // replace with version
],
targets: [
.target(
name: "TARGET-NAME",
dependencies: [
.product(name: "GeneralUtility"),
],
),
],