Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/insanj/sublicenseviewcontroller
✒ CocoaPod for attributing open source software! https://insanj.github.io/SUBLicenseViewController/
https://github.com/insanj/sublicenseviewcontroller
cocoapod ios objective-c tableview
Last synced: about 2 months ago
JSON representation
✒ CocoaPod for attributing open source software! https://insanj.github.io/SUBLicenseViewController/
- Host: GitHub
- URL: https://github.com/insanj/sublicenseviewcontroller
- Owner: insanj
- License: mit
- Created: 2015-08-17T22:38:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-16T20:12:28.000Z (almost 9 years ago)
- Last Synced: 2024-11-18T05:23:56.559Z (3 months ago)
- Topics: cocoapod, ios, objective-c, tableview
- Language: Objective-C
- Homepage: https://github.com/insanj/SUBLicenseViewController
- Size: 436 KB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SUBLicenseViewController
[![Version](https://img.shields.io/cocoapods/v/SUBLicenseViewController.svg?style=flat)](http://cocoadocs.org/docsets/SUBLicenseViewController)
[![License](https://img.shields.io/cocoapods/l/SUBLicenseViewController.svg?style=flat)](http://cocoadocs.org/docsets/SUBLicenseViewController)
[![Platform](https://img.shields.io/cocoapods/p/SUBLicenseViewController.svg?style=flat)](http://cocoadocs.org/docsets/SUBLicenseViewController)Incredibly simple license view controller for iOS. **Makes it really easy to attractively present acknowledgements for open source libraries within your app.** You know, the ones that come with all that 3rd party code you use?
![](Screenshots/first.png) ![](Screenshots/second.png)
## Usage
SUBLicenseViewController *licenseViewController = [[SUBLicenseViewController alloc] init];
[self.navigationController pushViewController:licenseViewController animated:YES];SUBLicenseViewController will automatically parse and add your [CocoaPods acknowledgements files](https://github.com/CocoaPods/CocoaPods/wiki/Acknowledgements) as long as you add it to `Copy Bundle Resources` like so:
![](Screenshots/instructions.jpg)
and then you can have it automatically copied every `pod install` by adding this to the bottom of your Podfile:
post_install do | installer |
require 'fileutils'
FileUtils.cp_r('Pods/Target Support Files/Pods-XXX/Pods-XXX-acknowledgements.plist', 'XXX/Acknowledgements.plist', :remove_destination => true)
endTo run the example project, clone the repo, and run `pod install` from the Example directory first.
## Installation
SUBLicenseViewController is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:pod "SUBLicenseViewController"
## Author
Julian (insanj) Weiss, [email protected]
## License
SUBLicenseViewController is available under the MIT license. See the LICENSE file for more info.