Latest 1.1.0
Homepage https://github.com/apple/swift-nio-extras
License Apache 2.0
Platforms ios 12.0, osx 10.14, tvos 12.0
Dependencies SwiftNIO

NIOExtras

NIOExtras is a good place for code that is related to NIO but not core. It can also be used to incubate APIs for tasks that are possible with core-NIO but are cumbersome today.

What makes a good contribution to NIOExtras?

  • a protocol encoder/decoder pair (also called "codec") that is often used but is small enough so it doesn’t need its own repository
  • a helper to achieve a task that is harder-than-necessary to achieve with core-NIO

Code Quality / Stability

All code will go through code review like in the other repositories related to the SwiftNIO project.

swift-nio-extras part of the SwiftNIO 2 family of repositories and depends on the following:

  • swift-nio, version 2.0.0 or better.
  • Swift 5.0.
  • zlib and its development headers installed on the system. But don’t worry, you’ll find zlib on pretty much any UNIX system that can compile any sort of code.

To depend on swift-nio-extras, put the following in the dependencies of your Package.swift:

.package(url: "https://github.com/apple/swift-nio-extras.git", from: "1.0.0"),

Support for older Swift versions

On the nio-extras-0.1 branch, you can find the swift-nio-extras version for the SwiftNIO 1 family. It requires Swift 4.1 or better.

Current Contents

Latest podspec

{
    "name": "SwiftNIOExtras",
    "version": "1.1.0",
    "license": {
        "type": "Apache 2.0",
        "file": "LICENSE.txt"
    },
    "summary": "Useful code around SwiftNIO.",
    "homepage": "https://github.com/apple/swift-nio-extras",
    "authors": "Apple Inc.",
    "source": {
        "git": "https://github.com/apple/swift-nio-extras.git",
        "tag": "1.1.0"
    },
    "documentation_url": "https://github.com/apple/swift-nio-extras",
    "module_name": "NIOExtras",
    "swift_versions": "5.0",
    "cocoapods_version": ">=1.6.0",
    "platforms": {
        "ios": "12.0",
        "osx": "10.14",
        "tvos": "12.0"
    },
    "dependencies": {
        "SwiftNIO": [
            "~> 2.0.0"
        ]
    },
    "source_files": "Sources/NIOExtras/**/*.swift"
}

Pin It on Pinterest

Share This