backslash-f / toolbox

A collection of useful Swift tools 🧰

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swift-version swift-package-manager platforms build-status license

Toolbox 🧰

A collection of useful Swift tools.

Tools

Tool Description
CodableError Defines a Codable wrapper for Apple's Error.
loadJSONFromFile(filename:type:) Loads and decodes .json files from the main bundle or (Development Assets) into a specified Decodable type.

Integration

Xcode

Use Xcode's built-in support for SPM.

or...

Package.swift

In your Package.swift, add Toolbox as a dependency:

dependencies: [
  .package(url: "https://github.com/backslash-f/toolbox", from: "0.0.1")
]

Associate the dependency with your target:

targets: [
  .target(
    name: "YourAppName",
    dependencies: [
      .product(name: "Toolbox", package: "toolbox")
    ]
  )
]

Run: swift build

About

A collection of useful Swift tools 🧰

License:MIT License


Languages

Language:Swift 100.0%