FWPopupMenuDelegate
@protocol FWPopupMenuDelegate <NSObject>
@optional
- (void)popupMenuBeganDismiss:(FWPopupMenu *)popupMenu;
- (void)popupMenuDidDismiss:(FWPopupMenu *)popupMenu;
- (void)popupMenuBeganShow:(FWPopupMenu *)popupMenu;
- (void)popupMenuDidShow:(FWPopupMenu *)popupMenu;
/**
点击事件回调
*/
- (void)popupMenu:(FWPopupMenu *)popupMenu didSelectedAtIndex:(NSInteger)index;
/**
自定义cell
可以自定义cell,设置后会忽略 fontSize textColor backColor type 属性
cell 的高度是根据 itemHeight 的,直接设置无效
建议cell 背景色设置为透明色,不然切的圆角显示不出来
*/
- (UITableViewCell *)popupMenu:(FWPopupMenu *)popupMenu cellForRowAtIndex:(NSInteger)index;
@end
Undocumented
-
Undocumented
Declaration
Objective-C
- (void)popupMenuBeganDismiss:(FWPopupMenu *)popupMenu;
-
Undocumented
Declaration
Objective-C
- (void)popupMenuDidDismiss:(FWPopupMenu *)popupMenu;
-
Undocumented
Declaration
Objective-C
- (void)popupMenuBeganShow:(FWPopupMenu *)popupMenu;
-
Undocumented
Declaration
Objective-C
- (void)popupMenuDidShow:(FWPopupMenu *)popupMenu;
-
点击事件回调
Declaration
Objective-C
- (void)popupMenu:(nonnull FWPopupMenu *)popupMenu didSelectedAtIndex:(NSInteger)index;
-
自定义cell
可以自定义cell,设置后会忽略 fontSize textColor backColor type 属性 cell 的高度是根据 itemHeight 的,直接设置无效 建议cell 背景色设置为透明色,不然切的圆角显示不出来
Declaration
Objective-C
- (nonnull UITableViewCell *)popupMenu:(nonnull FWPopupMenu *)popupMenu cellForRowAtIndex:(NSInteger)index;