Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Version Xcode Version Platforms SPM License CI Release

Toolbox 🧰

A collection of useful Swift tools.

Tools

Tool Description
CodableError Defines a Codable wrapper for Apple's Error.
jsonDataFromFile(_:) Loads the contents of a JSON resource bundled with the app or test target. Returns a Data instance containing the raw bytes of the JSON file.

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/thatfactory/toolbox",
        from: "0.1.1"
    )
]

Associate the dependency with your target:

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

Run: swift build

About

A collection of useful Swift tools. 🧰

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages