swift-blocks

0.4.0

🧱 A collection of my Swift building blocks.
dirtyhenry/swift-blocks

What's New

0.4.0

2024-06-21T10:43:47Z

What's Changed

Full Changelog: 0.3.0...0.4.0

swift-blocks logo

🧱 Blocks

Build macOS CI state badge Swift versions compatibility badge Platforms compatibility badge

A collection of my Swift building blocks.

This repository contains:

  • Blocks: a dependency-free Swift package with some utilities to deal with networking, API management, web protocols, etc.;

And the following examples executables/apps:

  • BlocksCLI: a command-line interface for basic proof-of-concepts;
  • BlocksApp: a basic App with no other dependencies than Blocks and Apple-provided 1st-party frameworks.

Tip

🏘️ For a similar package that builds on a curated set of dependencies (such as TCA, Yams, or Swift Argument Parser), watch out my Hoods package.

Usage

import Blocks

Installation

Swift Package Manager is recommended:

dependencies: [
    .package(
        url: "https://github.com/dirtyhenry/swift-blocks",
        from: "0.3.0"
    ),
]

Next, add Blocks as a dependency of your test target:

targets: [
    .target(name: "MyTarget", dependencies: [
        .product(name: "Blocks", package: "swift-blocks")
    ])
]

License

MIT

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

  • None
Last updated: Sat Dec 21 2024 15:26:48 GMT-1000 (Hawaii-Aleutian Standard Time)