swift-byte-symbols

2.0.0

Swift package with named UInt8 constants for the ASCII code points.
Formkunft/swift-byte-symbols

What's New

Swift Byte Symbols 2.0.0

2025-02-28T23:01:26Z
  • Renamed package to swift-byte-symbols
  • Renamed dash from hyphenMinus
  • Renamed period from dot

Full Changelog: v1.0.0...v2.0.0

Swift Byte Symbols

A simple Swift package that exposes an ASCII namespace with named constants for the 128 ASCII code points.

Using Swift Byte Symbols in your project

Add swift-byte-symbols as a dependency to your package:

let package = Package(
    // ...
    dependencies: [
        .package(url: "https://github.com/Formkunft/swift-byte-symbols", .upToNextMajor(from: "2.0.0")),
    ],
    targets: [
        .target(
            // ...
            dependencies: [
                .product(name: "ByteSymbols", package: "swift-byte-symbols"),
            ]),
    ]
)

Then, import ByteSymbols in your code:

import ByteSymbols

// ...

Description

  • Swift Tools 5.10.0
View More Packages from this Author

Dependencies

  • None
Last updated: Wed May 14 2025 04:01:28 GMT-0900 (Hawaii-Aleutian Daylight Time)