Swiftpack.co - cybozu/LicenseList as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by cybozu.
cybozu/LicenseList 0.6.0
Generate a list of licenses for the Swift Package libraries that your app depends on.
⭐️ 93
🕓 2 days ago
iOS
.package(url: "https://github.com/cybozu/LicenseList.git", from: "0.6.0")

LicenseList

Generate a list of licenses for the Swift Package libraries that your app depends on.

Github issues Github forks Github stars Top language Release Github license

Example

Requirements

  • Written in Swift 5.9
  • Compatible with iOS 14.0+
  • Development with Xcode 15.2+

Installation

LicenseList is available through Swift Package Manager.

  1. Integrate LicenseList in your project
  2. Link LicenseList in your application target
    • Application Target > General > Frameworks, Libraries, and Embedded Contsrc="https://raw.github.com/cybozu/LicenseList/main/> +`
    • Choose LicenseList

Usage

Example for UIKit

import LicenseList

// in ViewController
let vc = LicenseListViewController()
vc.title = "LICENSE"

// If you want to anchor link of the repository
vc.licenseListViewStyle = .withRepositoryAnchorLink

navigationController?.pushViewController(vc, animated: true)

Example for SwiftUI

import LicenseList

struct ContentView: View {
    var body: some View {
        NavigationView {
            LicenseListView()
                // If you want to anchor link of the repository
                .licenseListViewStyle(.withRepositoryAnchorLink)
                .navigationTitle("LICENSE")
        }
    }
}

Demo

This repository includes demonstration app for UIKit & SwiftUI.

Open LicenseDemo/LicenseDemo.xcodeproj and Run it.

GitHub

link
Stars: 93
Last commit: 2 days ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.6.0
2 days ago

Breaking Change

Modifications

Full Changelog: https://github.com/cybozu/LicenseList/compare/0.5.1...0.6.0

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