Skip to content
This repository was archived by the owner on Jun 17, 2018. It is now read-only.

Commit 85baaa6

Browse files
committed
Convert to Swift 3.0
1 parent 5e461b5 commit 85baaa6

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Example/PagingMenuControllerDemo/AppDelegate.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1313

1414
var window: UIWindow?
1515

16-
17-
private func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
16+
fileprivate func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
1817
// Override point for customization after application launch.
1918
return true
2019
}

Example/PagingMenuControllerDemo/RootViewController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ private enum Section {
1414
case menuView(content: MenuViewContent)
1515
case menuController(content: MenuControllerContent)
1616

17-
private enum AllContent: Int { case standard, segmentedControl, infinite }
18-
private enum MenuViewContent: Int { case underline, roundRect }
19-
private enum MenuControllerContent: Int { case standard }
17+
fileprivate enum AllContent: Int { case standard, segmentedControl, infinite }
18+
fileprivate enum MenuViewContent: Int { case underline, roundRect }
19+
fileprivate enum MenuControllerContent: Int { case standard }
2020

2121
init?(indexPath: IndexPath) {
2222
switch ((indexPath as NSIndexPath).section, (indexPath as NSIndexPath).row) {

Example/PagingMenuControllerDemo2/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
1313

1414
var window: UIWindow?
1515

16-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: Any]?) -> Bool {
16+
fileprivate func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: Any]?) -> Bool {
1717
// Override point for customization after application launch.
1818

1919
window = UIWindow(frame: UIScreen.main.bounds)

Example/PagingMenuControllerDemoUITests/PagingMenuControllerDemoUITests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class PagingMenuControllerDemoUITests: XCTestCase {
3333
// Use XCTAssert and related functions to verify your tests produce the correct results.
3434

3535
let tablesQuery = XCUIApplication().tables
36-
tablesQuery.elementBound(by: 0).swipeUp()
36+
tablesQuery.element(boundBy: 0).swipeUp()
3737

3838
let elementsQuery = XCUIApplication().scrollViews.otherElements
3939
elementsQuery.staticTexts["Users"].swipeLeft()

0 commit comments

Comments
 (0)