Customizable swipe-to-reveal menu for iOS apps. Compatible with iOS 7 and later, tested under iOS 7 and iOS 8.
You can integrate DRSwipeMenu
with your project using Cocoapods. To do so, you will need to add one of the following lines to your Podfile:
For stable release (recommended):
pod 'DRSwipeMenu', '~> 2.0'
Which creates dependency for version >= 2.0.0
and < 3.0.0
For most recent or exact development version (not recommended on production):
pod 'DRSwipeMenu', :git => 'https://github.com/darrarski/DRSwipeMenu-iOS.git', :tag => 'VERSION_TAG'
Where VERSION_TAG
you should put tag name for given version (ex. "v2.0.2"). It is recommended to set version explicity instead of using most recent version, as backward compatibility is not warranted.
You can also download zip archive of given release from releases page.
Check out included example project. It shows how to use swipe menu on UITableViewCell
, but menu could be embedded anywhere in the view hierarchy.
- Added
scrollDeceleationRate
property toDRSwipeMenuView
- Added
shouldDisableScrollingWhileDecelerating
property toDRSwipeMenuView
. If set toYES
, scrolling will be disabled during deceleration. This could improve UX when embedding swipe menu in other scroll views (eg when adding swipe menu to cells in table view). Default value isNO
.- Example app updated using Xcode 8
- Minimum deployment target bumped to iOS 8
- Added documentation comments to all public headers
- Added
shouldCloseByTapingOnMainView
property toDRSwipeMenuView
. If set toYES
, tapping on center view closes menu. This will block user interactions with center view while menu is revealed. Default value isNO
.
- Source code refactored and cleaned up
- Supports left and right swipe menu
- Example app updated
- Initial release
- Right swipe menu
- iOS 7 and iOS 8 compatible
The MIT License (MIT) - check out included LICENSE file
Icons used in example app comes from icons8.com site.