✒ Incredibly simple CocoaPod for attributing open source software!
Objective-C Shell Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
Pod
Screenshots
LICENSE
README.md
SUBLicenseViewController.podspec

README.md

SUBLicenseViewController

Version License Platform

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?

Usage

SUBLicenseViewController *licenseViewController = [[SUBLicenseViewController alloc] init];
[self.navigationController pushViewController:licenseViewController animated:YES];

SUBLicenseViewController will automatically parse and add your CocoaPods acknowledgements files as long as you add it to Copy Bundle Resources like so:

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)
end

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

SUBLicenseViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SUBLicenseViewController"

Author

Julian (insanj) Weiss, insanjmail@gmail.com

License

SUBLicenseViewController is available under the MIT license. See the LICENSE file for more info.