WBChainMenu
An Option Menu with chain animation has below mentioned features:
- Menu on top of UItableViewCell which can come out from left to right or vice versa.
- Menu Action button with: image only*
- Animated expansion from left, right.
- Custom Menu Items: Background Image
Background
I have used many menus for a tableviewcell but WBChainMenu is used where we have lengthy number of menu items and needs to display in one view.
Expansion Styles
The expansion style describes the behavior when we call the open
and close
function of Menu View.
Left | Right |
---|---|
![]() |
![]() |
Chain Menu View
we can further customize Menu View with the below optional fields
Left/Right and Top/Center/Bottom
We have to inilialize position object which contains horizontal/vertical position of the layout and assigin it to MenuChainView
Chain Menu Item View
we can further customize Menu View with the below optional fields
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
- Swift 4.2
- Xcode 10
- iOS 11.0
Installation
WBChainMenu is available through CocoaPods. To install
it, simply add the following line to your Podfile: