mono0926 / LicensePlist

A license list generator of all your dependencies for iOS applications
https://www.slideshare.net/mono0926/licenseplist-a-license-list-generator-of-all-your-dependencies-for-ios-applications
MIT License
2.42k stars 146 forks source link

Support ViewController #24

Open mono0926 opened 7 years ago

mono0926 commented 7 years ago

Support ViewController Output like AcknowList.


It is better to support as another library.

  1. Read plists from XXX.bundle.
  2. Present it as list/detail view controllers.

XXX.bundle can be accessed like this:

let plistDir = URL(fileURLWithPath: Bundle.main.path(forResource: "Settings", ofType: "bundle")!)
    .appendingPathComponent("com.mono0926.LicensePlist")
try! FileManager.default.contentsOfDirectory(at: plistDir, includingPropertiesForKeys: [], options: [])
    .forEach { print($0) }
yhirano commented 6 years ago

I made LicensePlistViewController. https://github.com/yhirano/LicensePlistViewController

mono0926 commented 6 years ago

Thanks! I’m considering how to treat this issue for a moment 🐶