CocoaPods trunk is moving to be read-only. Read more on the blog, there are 18 months to go.

Thnx 0.0.1

Thnx 0.0.1

TestsTested
LangLanguage SwiftSwift
License BSD
ReleasedLast Release Nov 2016
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Adam Dahan.



Thnx 0.0.1

  • By
  • adamdahan

Thnx


Welcome to Thnx

Thnx is a Fully Customizable Open Source Library Attribution framework that is used to credit the teams behind the code you use in your projects.



Latest example project


Features

  • [x] Supports ALL iOS Github Repositories that have a license
  • [x] ThnxViewController
  • [x] Dynamic Text Sizing
  • [x] Customizable
  • [x] Works out of the box
  • [x] Supports Orientation changes
  • [x] Thnx
  • [x] Use license data in your own custom views
  • [x] Swift 3
  • [x] iOS 10


Coming soon

  • [x] Support for macOS repositories
  • [x] Super jumbo feature
  • [x] Customizable error message in ThnxViewController if fails to fetch repository license (no network failures)


Usage

If you would like to use the default ThnxViewController

import UIKit
import Thnx

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?

    lazy var thnxViewController: ThnxViewController = {
        return ThnxViewController(urls: [Url.Graph, Url.Algorithm, Url.Material])
    }()

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.rootViewController = UINavigationController(rootViewController: thnxViewController)
        window?.makeKeyAndVisible()
        return true
    }
}