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.7.0
Generate a list of licenses for the Swift Package libraries that your app depends on.
⭐️ 100
🕓 17 hours ago
iOS
.package(url: "https://github.com/cybozu/LicenseList.git", from: "0.7.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+

Privacy Manifest

This library does not collect or track user information, so it does not include a PrivacyInfo.xcprivacy file.

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: 100
Last commit: 21 hours ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.7.0
14 hours ago

Modifications

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

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