LicensePlistViewController is ViewController for LicensePlist.
![]() |
![]() |
|---|---|
| List | Detail |
- Swift 5.0
- iOS 9.0 or later
If you use Swift 4.0, try to use 1.1.2
Simply add the following line to your Podfile:
pod 'LicensePlistViewController'
Simply add the following line to your Cartfile:
github "yhirano/LicensePlistViewController"
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.
Example Homebrew:
brew install mono0926/license-plist/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 com.mono0926.LicensePlist.plist file and com.mono0926.LicensePlist directory to source tree.

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

let viewController = LicensePlistViewController()
self.navigationController?.pushViewController(viewController, animated: true)Can change the style 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) |
![]() |


