测试已测试 | ✗ |
语言语言 | SwiftSwift |
许可协议 | BSD |
发布最新发布 | 2016年11月 |
SwiftSwift 版本 | 3.0 |
SPM支持 SPM | ✗ |
由 Adam Dahan 维护。
Thnx 是一个可完全自定义的开源代码归因框架,用于在项目中使用的代码为背后的团队致谢。
如果您希望使用默认的 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
}
}