Commit Graph

57 Commits

Author SHA1 Message Date
Aryan Ghassemi 7a6dcf2d9d Created a demo to demonstrate different features of SlideNavigationController 2014-04-29 20:58:01 -07:00
Aryan Ghassemi 136b1aecf0 Fixed typo in setter method of "enableShadow" 2014-04-20 17:55:46 -07:00
Aryan Ghassemi 19f01241d8 Allow limiting the pan gesture to the sides of the view only. This would be helpful if you want to use the slide-delete functionality of the UITableView and have slide-menu-pan-gesture at the same time 2014-04-20 09:47:49 -07:00
Aryan Ghassemi 3aff93e08e Throwing an exception when more than 1 instance of SlideNavigationController is being initialized. Can't use dispatch once since SlideNavigationController van be initialized using different constructors 2014-04-20 09:16:59 -07:00
Aryan Ghassemi fd9a508323 - Added option to enable/disable shadow 2014-04-19 14:08:55 -07:00
Aryan Ghassemi 38f6bb528c Added new methods used for switching between ViewControllers and deprecated switchToViewController:withCompletion:. These new methods have more meaningfull names and decribe exactly what happends during a switch. You can also disable slide out animation using these new methods 2014-04-19 13:44:21 -07:00
Aryan Ghassemi d1281e7361 Bug #30 - Turn off interactivePopGestureRecognizer when the slide menu is open. 2014-04-19 09:49:09 -07:00
Aryan Ghassemi 8095b8c58c - Fixed duplicate viewControllers in storyboard in demo 2014-03-14 19:56:43 -07:00
Aryan Ghassemi 439a6d76aa - Added bounce functionality (Let's say the right menu is for notifications, when you receive notification you bounce the right menu to let the user know that they should open the right menu to view the notification) 2014-02-07 13:07:26 -08:00
Aryan Ghassemi 220512c37f - Reusing logic to enable/disable tap
- Moved this logic to the correct methods (accidentally added to willLayoutSubviews instead of willRotateToInterfaceOrientation)
2014-02-02 12:23:30 -08:00
Aryan Ghassemi a718c6a097 - Fixing glitch, by removing tapGestureRecognizer during rotation 2014-02-02 12:13:10 -08:00
Aryan Ghassemi 25e35c5742 - Simplify code
- Make sure that user interaction is enable again after device rotates (while menu is open)
2014-02-02 12:05:37 -08:00
nullproduction e04b5f806a Blocking gestures in minimized topViewController 2014-01-31 15:34:15 +04:00
Aryan Ghassemi c300cd5a34 - Added license to all new files 2014-01-27 21:39:24 -08:00
Aryan Ghassemi 15619fd4c7 - Updating menu frame and transformation when preparing to reveal, to ensure that even when the app launches in landscape mode the rotation is handled as soon as the menu is about to reveal 2014-01-27 21:33:20 -08:00
Aryan Ghassemi 31351393eb - Fixed an animation glitch in scale animation 2014-01-27 21:30:36 -08:00
Aryan Ghassemi 2b3be430f3 - Cleanup
- Fixed typo in property name renamed “leftbarButtonItem” to “leftBarButtonItem”
2014-01-27 20:17:32 -08:00
Aryan Ghassemi 835e8bedd1 - Fixed a bug where menu animation does not get completed when switching to another view controller because that viewController is not presenting the menu (delegate return NO or not implemented) 2014-01-26 15:47:01 -08:00
Aryan Ghassemi f1025d7792 - Some cleanup
- Structured menu for a better presentation of slide menu features
2014-01-26 15:27:57 -08:00
Aryan Ghassemi 93b7afcfd8 - Implemented clear for slide animation
- Fixed an issue with scale animation
2014-01-26 15:05:21 -08:00
Aryan Ghassemi a759310b3b - Separated all reveal animations from SlideNavigationController
- Allowing a custom animation to be passed to slide menu and used for menu reveal animation
2014-01-26 14:47:32 -08:00
Aryan Ghassemi 373be13080 - Added scale animation 2014-01-26 12:28:45 -08:00
Aryan Ghassemi 7fa9e10b3e Fixed glitch where quick swipe in opposite directions may cause the menu not to appear 2014-01-22 15:55:54 -08:00
Aryan Ghassemi d7ad0e1a34 - Fixed menu rotation issue when app launches in landscape mode 2014-01-22 07:16:44 -08:00
Aryan Ghassemi 17c29fcdfa - Making the methods for opening and closing menu public
- Added 2 new public methods to toggle left and right menu, to be used for customization (Passing a custom UIBArButtonItem with a UIButton as custom view)
- Added a public method to determine whether the menu is open or not
- Fixed the issue where on iOS6  landscape mode the menu would go below the status bar
- Fixed the problem fade animation was applying alpha to the menu instead of fadeView
- Added all content to iPad story board for demo
2014-01-21 21:09:52 -08:00
Aryan Ghassemi 66d17489ba - Fixed animation glitch that happens when menu is opened for the first time 2014-01-07 08:50:12 -08:00
Aryan Ghassemi ccd27bff8f - Removed accidentally checked in test-code 2014-01-06 22:15:29 -08:00
Aryan Ghassemi b22ee4dbae Merge remote-tracking branch 'origin/Menu_Reveal_Animation'
* origin/Menu_Reveal_Animation:
  - Added ability to display animations (Slide/Fade) when revealing the menu
2014-01-06 22:07:09 -08:00
Aryan Ghassemi bbdad1962a - Added ability to display animations (Slide/Fade) when revealing the menu 2014-01-06 21:52:27 -08:00
Aryan Ghassemi 6401379cd6 - Fixed calculation for defining the middle of slide to decide whether slide menu should go left or right when touch is released 2014-01-06 08:03:50 -08:00
Aryan Ghassemi fc827a9fd8 - Faster quick swipe animation
- And more sensitivity for detecting quick swipe
2014-01-05 15:39:58 -08:00
Aryan Ghassemi 3554c28b2f - Fixed more animation glitches
- Fixed a bug where a fast swipe could present the menu even if delegate return NO
2014-01-05 15:34:30 -08:00
Aryan Ghassemi 812f9b5838 - Resizing shadow when viewVillLayout (fix for landscape right menu missing the shadow) 2014-01-05 15:21:32 -08:00
Aryan Ghassemi f32edb7041 - Code cleanup
- Simplified logic by avoiding orientation check in multiple placers
- Fix ome animation glitches
2014-01-05 15:18:41 -08:00
Aryan Ghassemi df4fa9ec41 - Forgot to include m file in previous commit 2014-01-05 14:41:57 -08:00
Aryan Ghassemi 48fc91164a - Fix typo in property for rightMenu (renamed from righMenu to rightMenu)
- Avoid the weird background animation of the shadow when rotating device
2014-01-05 14:41:35 -08:00
Aryan Ghassemi 1b5b643ef3 - Allowing the slide offset to be set on portrait and landscape mode 2014-01-05 10:18:22 -08:00
Aryan Ghassemi e5790197a3 - Overriding layoutSubviews and resizing left and right menus accordingly 2014-01-05 10:07:46 -08:00
Aryan Ghassemi 819f691982 - Initial commit for landscape mode
- Need to resize/relocate menus properly
2014-01-05 09:36:15 -08:00
Aryan Ghassemi 1350104883 - Fixed warnings 2013-12-31 10:51:22 -08:00
Aryan Ghassemi 3f9cbe0e00 - Better sample to demonstrate use of SlideNavigationController 2013-12-31 09:23:35 -08:00
Aryan Ghassemi 62e737bd83 Fixed #5
Quick swipe should not open menu if delegate is not implemented or returns NO
2013-10-27 16:26:23 -07:00
Aryan Gh d39613d831 - Updated Licensing to MIT
- Added pod file
2013-08-28 20:49:25 -07:00
Aryan Gh 882fadf0d9 - Added Licensing 2013-07-28 20:36:43 -07:00
Aryan Gh 0d1d53ce27 - Added a property to be able ti turn swipe gesture off/on
- SlideMenu enables swipe on default
2013-05-12 19:08:18 -07:00
Aryan Gh 89d598fdbf - Fixed typo in delegate methods of SlideNavigationController ("slideNavigationControllerShouldSisplay" to "slideNavigationControllerShouldDisplay")
- Renamed SwitchViewController method to switchToViewController
- Fixed the bug where Navigation Items added in storyboard were being removed by the SlideMenu
2013-05-11 23:06:27 -07:00
Aryan Gh de6496c47e - Fixed a spelling mistake on protocol name 2013-04-29 17:50:07 -07:00
Aryan Gh 4c74a5b105 - Avoid switching to ViewController if it's the same class type as the current view controller, and instead just close the slide menu
- this option is configurable by setting a bool called avoidSwitchingToSameClassViewController
2013-04-27 10:18:35 -07:00
Aryan Gh d8867cfb3e - Got rid of left and right bar button image
- Allowing custom barbuttons to be passed, and used for both right and left bar buttons menu items
2013-04-27 00:59:33 -07:00
Aryan Gh 86f15525d1 - Simplified the code
- Added feature to use the given images for menu item, unless image doesn't exist
2013-04-27 00:42:19 -07:00