• Stars
    star
    105
  • Rank 328,196 (Top 7 %)
  • Language
    Swift
  • License
    MIT License
  • Created over 9 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.