项目
在 GitHub 查看
dwalker39/DWBubbleMenuButton
关于
A delightful and simple animation class for expanding and collapsing a variable sized menu
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文DWBubbleMenuButton
DWBubbleMenuButton is a simple animation class for expanding and collapsing a variable sized menu.

Project allows for expanding menus in left, right, up, and down directions. Using the class is as simple as setting your home button and adding an array of menu buttons.
CocoaPods
pod 'DWBubbleMenuButton', '~> 1.0.1'
Usage
Create a home button
UIButton *menuButton = [UIButton buttonWithType:UIButtonTypeSystem];
[menuButton setTitle:@"Menu" forState:UIControlStateNormal];
Create an instance of DWBubbleMenuButton
DWBubbleMenuButton *bubbleMenuButton = [[DWBubbleMenuButton alloc] initWithFrame:CGRectMake(20.f,
20.f,
100.f,
100.f)
expansionDirection:DirectionDown];
bubbleMenuButton.homeButtonView = menuButton;
Add buttons to your bubble menu
[bubbleMenuButton addButtons:@[/* your buttons */]];
/* OR */
[bubbleMenuButton addButton:/* your button */];
DWBubbleMenuButton will automatically handle the animation, frame changes, and showing your menu buttons in the proper order
探索相关项目
加载中…