mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Fix broken Travis
This commit is contained in:
@@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||||||
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
|
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
|
||||||
let window = UIWindow(frame: UIScreen.mainScreen().bounds)
|
let window = UIWindow(frame: UIScreen.mainScreen().bounds)
|
||||||
window.backgroundColor = UIColor.whiteColor()
|
window.backgroundColor = UIColor.whiteColor()
|
||||||
window.rootViewController = ViewController()
|
window.rootViewController = ViewController(nibName: nil, bundle: nil)
|
||||||
window.makeKeyAndVisible()
|
window.makeKeyAndVisible()
|
||||||
self.window = window
|
self.window = window
|
||||||
return true
|
return true
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class ViewController: UIViewController, ASTableViewDataSource, ASTableViewDelega
|
|||||||
|
|
||||||
// MARK: UIViewController.
|
// MARK: UIViewController.
|
||||||
|
|
||||||
required init() {
|
override required init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
|
||||||
self.tableView = ASTableView()
|
self.tableView = ASTableView()
|
||||||
|
|
||||||
super.init(nibName: nil, bundle: nil)
|
super.init(nibName: nil, bundle: nil)
|
||||||
|
|||||||
Reference in New Issue
Block a user