From f77d8de9d5ab17c8bfc8801f794c909e957f97fa Mon Sep 17 00:00:00 2001 From: pikachu987 Date: Mon, 5 Dec 2016 17:31:46 +0900 Subject: [PATCH 1/2] add Refresh Preferences --- Source/SideMenuController.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/SideMenuController.swift b/Source/SideMenuController.swift index 03c8f68..e5082a6 100644 --- a/Source/SideMenuController.swift +++ b/Source/SideMenuController.swift @@ -212,6 +212,12 @@ open class SideMenuController: UIViewController, UIGestureRecognizerDelegate { } } + // MARK: - Refresh Preferences - + + open func refreshPreferences(preferences: Preferences){ + self._preferences = preferences + } + // MARK: - Configurations - func configureViews(){ From f316d4fe4714d350958f606d7c32ce9a2815008d Mon Sep 17 00:00:00 2001 From: pikachu987 Date: Tue, 6 Dec 2016 09:33:29 +0900 Subject: [PATCH 2/2] add Refresh Preferences --- Example/Example/Base.lproj/Main.storyboard | 92 +++++++++++++--------- 1 file changed, 54 insertions(+), 38 deletions(-) diff --git a/Example/Example/Base.lproj/Main.storyboard b/Example/Example/Base.lproj/Main.storyboard index 0d664bc..1b2816d 100644 --- a/Example/Example/Base.lproj/Main.storyboard +++ b/Example/Example/Base.lproj/Main.storyboard @@ -1,8 +1,12 @@ - - + + + + + - + + @@ -14,9 +18,9 @@ - + - + @@ -38,14 +42,15 @@ - + - + - + - + @@ -102,9 +110,9 @@ - + - + @@ -121,10 +129,10 @@ - + - + @@ -154,16 +162,17 @@ - + - + - + - + @@ -205,16 +215,17 @@ - + - + - + - + @@ -255,16 +267,17 @@ - + - + - + - + @@ -306,14 +320,15 @@ - + - + - + - + @@ -406,7 +422,7 @@ - +