Swiftpack.co - zunda-pixel/LicenseProvider as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by zunda-pixel.
zunda-pixel/LicenseProvider 1.1.0
Generate License List that Project depends on.
⭐️ 0
🕓 2 weeks ago
iOS macOS watchOS tvOS macCatalyst
.package(url: "https://github.com/zunda-pixel/LicenseProvider.git", from: "1.1.0")

LicensePlugin

Generate License List that Project depends on.

Support Swift 5.7

Support Platform for iOS macOS watchOS tvOS Linux Windows
// Package.swift
let package = Package(
  name: "SampleKit",
  products: [
    .library(
      name: "SampleKit",
      targets: ["SampleKit"]
    )
  ],
  targets: [
    .target(
      name: "SampleKit",
      plugins: [
        .plugin(name: "LicenseProviderPlugin", package: "LicenseProvider"),
      ]
    )
  ]
)
import SwiftUI

struct LicenseView: View {
  var body: some View {
    NavigationStack {
      List {
        ForEach(LicenseProvider.packages) { package in
          NavigationLink(package.name) {
            VStack {
              Link("URL", destination: package.location)
              Text(package.license)
            }
            .navigationTitle(package.name)
          }
        }
      }
    }
  }
}

GitHub

link
Stars: 0
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics