Swiftpack.co - yhirano/LicensePlistViewController as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by yhirano.
yhirano/LicensePlistViewController 2.3.0
ViewController for LicensePlist
⭐️ 31
🕓 25 weeks ago
iOS
.package(url: "https://github.com/yhirano/LicensePlistViewController.git", from: "2.3.0")

LicensePlistViewController

platforms GitHub license Language: Swift 5.0 Version Carthage compatible Swift Package Manager compatible

LicensePlistViewController is ViewController for LicensePlist.

Screen shot Screen shot
List Detail

Requirements

  • Swift 5.0
  • iOS 9.0 or later

If you use Swift 4.0, try to use 1.1.2

Installation

CocoaPods

Simply add the following line to your Podfile:

pod 'LicensePlistViewController'

Cartage

Simply add the following line to your Cartfile:

github "yhirano/LicensePlistViewController"

Swift Package Manager

Simply add the following line to your Package.swift:

dependencies: [
    .package(url: "https://github.com/yhirano/LicensePlistViewController.git", from: "2.3.0")
]

Alternatively, you can add the package directly via Xcode.

Usage

Install LicensePlist

Install LicensePlist.

Example Homebrew:

brew install mono0926/license-plist/license-plist

Use license-plist

Use license-plist.

Example command:

On the directory same as Cartfile or Pods, simply execute license-plist.

license-plist

com.mono0926.LicensePlist.Output directory will be generated.

Add reference

Add reference com.mono0926.LicensePlist.plist file and com.mono0926.LicensePlist directory to source tree. XCode screen shot

Under Target > Build Phases > Copy Bundle Resources script, add these files. XCode screen shot

Call LicensePlistViewController

self.navigationController?.pushViewController(viewController, animated: true)

Can change the src="https://raw.github.com/yhirano/LicensePlistViewController/master/ of the table if you needed.

Code Screen shot
LicensePlistViewController()
or
LicensePlistViewController(tableViewStyle: .grouped)
LicensePlistViewController(tableViewStyle: .insetGrouped)
(Only available in iOS 13.0 or newer)

References

GitHub

link
Stars: 31
Last commit: 9 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

25 weeks ago

Updated to allow setting of background and text colors.

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