diff --git a/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example/Example/Assets.xcassets/AppIcon.appiconset/Contents.json old mode 100644 new mode 100755 diff --git a/Example/Example/Assets.xcassets/Contents.json b/Example/Example/Assets.xcassets/Contents.json old mode 100644 new mode 100755 diff --git a/Example/Example/Assets.xcassets/menu.imageset/Contents.json b/Example/Example/Assets.xcassets/menu.imageset/Contents.json old mode 100644 new mode 100755 diff --git a/Example/Example/Assets.xcassets/menu.imageset/Menu2-128.png b/Example/Example/Assets.xcassets/menu.imageset/Menu2-128.png old mode 100644 new mode 100755 diff --git a/README.md b/README.md index f3ee1ca..dfba152 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ Next, go to the Storyboard, and change the class of the SideMenuController to th In `AppDelegate.swift`, override `application:didFinishLaunchingWithOptions:`: ```swift -func func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { +func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. SideMenuController.preferences.drawing.menuButtonImage = UIImage(named: "menu") @@ -156,6 +156,8 @@ func func application(_ application: UIApplication, didFinishLaunchingWithOption SideMenuController.preferences.drawing.sidePanelWidth = 300 SideMenuController.preferences.drawing.centerPanelShadow = true SideMenuController.preferences.animating.statusBarBehaviour = .showUnderlay + + return true } ``` ⚠️_If you **do not** specify a menu button image, `SideMenuController` **will not add one by default** and you will have to manually add one whenever transitioning to a new center view controller._