Skip to content

tiagomnh/LicensingViewController

Repository files navigation

LicensingViewController

Version Swift Carthage compatible GitHub license

LicensingViewController is a UIViewController subclass with a simple API for displaying licensing information.

Usage

import LicensingViewController

let licensingViewController = LicensingViewController()

licensingViewController.title = "Acknowledgments"

let alamofireItem = LicensingItem(
    title: "Alamofire",
    license: License.mit(owner: "Alamofire Software Foundation (http://alamofire.org/)", years: "2014")
)

let caniveteItem = LicensingItem(
    title: "Canivete",
    license: License.mit(owner: "Tiago Henriques (http://tiagomnh.com)", years: "2015")
)

let kingfisherItem = LicensingItem(
    title: "Kingfisher",
    license: License.mit(owner: "Wei Wang", years: "2015")
)

licensingViewController.items = [alamofireItem, caniveteItem, kingfisherItem]

Screenshot

Screenshot

Requirements

  • iOS 8.0+
  • Xcode 9 (Swift 3.2)

Installation

LicensingViewController is available through Carthage. To install it, simply add the following line to your Cartfile:

github "tiagomnh/LicensingViewController"

Then run carthage update.

License

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

About

๐Ÿ“ƒ UIViewController subclass with a simple API for displaying licensing information.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •