Swift General Utility
Support code for developing Swift code.
Utility namespace for hosting utility functionality withing your app.
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.
Side effect utility
Enables debugging within method chains and condition cascades.
Request synchronous data using
- Partition split.
- Initializes a
Resultfrom a completion handler's
- Trim a string
PROJECT > Swift Packages > Install:
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", package: "Swift-General-Utility"), ], ), ],