SwiftAtproto

0.11.1

AT Protocol implementation in Swift
nnabeyang/swift-atproto

What's New

v0.11.1

2024-06-18T23:57:48Z

Fixes

  • Fix the issue to ensure the correct prefix is applied even when there are multiple Lexicons with matching NSID top-level domains.

swift-atproto

swift-atproto is a atproto library.

Installation

SwiftPM

Add the SwiftAtproto as a dependency:

let package = Package(
    // name, platforms, products, etc.
    dependencies: [
        // other dependencies
        .package(url: "https://github.com/nnabeyang/swift-atproto", from: "0.11.1"),
    ],
    targets: [
        .executableTarget(name: "<executable-target-name>", dependencies: [
            // other dependencies
                .product(name: "SwiftAtproto", package: "swift-atproto"),
        ]),
        // other targets
    ]
)

CocoaPods

Add the following to your Podfile:

pod 'SwiftAtproto'

Usage

Code generation is done as follows:

swift package plugin --allow-writing-to-package-directory swift-atproto \
  --outdir <OUTPUT_DIR> \
  /path/to/bluesky-social/atproto/lexicons

License

swift-atproto is published under the MIT License, see LICENSE.

Author

Noriaki Watanabe@nnabeyang

Description

  • Swift Tools 5.9.0
View More Packages from this Author

Dependencies

Last updated: Thu Dec 05 2024 09:48:01 GMT-1000 (Hawaii-Aleutian Standard Time)