Skip to content

Commit 33a496f

Browse files
committed
Fix broken Travis
1 parent dc0d60f commit 33a496f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/Swift/Sample/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1919
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
2020
let window = UIWindow(frame: UIScreen.mainScreen().bounds)
2121
window.backgroundColor = UIColor.whiteColor()
22-
window.rootViewController = ViewController()
22+
window.rootViewController = ViewController(nibName: nil, bundle: nil)
2323
window.makeKeyAndVisible()
2424
self.window = window
2525
return true

examples/Swift/Sample/ViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class ViewController: UIViewController, ASTableViewDataSource, ASTableViewDelega
1818

1919
// MARK: UIViewController.
2020

21-
required init() {
21+
override required init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) {
2222
self.tableView = ASTableView()
2323

2424
super.init(nibName: nil, bundle: nil)

0 commit comments

Comments
 (0)