13 #import <Foundation/Foundation.h>
15 NS_ASSUME_NONNULL_BEGIN
31 typedef void (^FSMenuItemAction)(
FSMenuItem *_item);
36 @property (nonatomic, assign, readonly) NSUInteger
index;
38 @property (nonatomic, copy) NSString *
title;
40 @property (nonatomic, strong) UIImage *
image;
42 @property (nonatomic, copy, nullable) FSMenuItemAction
action;
52 - (instancetype)initWithTitle:(NSString *)title image:(UIImage *)image action:(FSMenuItemAction)action;
57 @property (nonatomic, assign, readonly) NSUInteger
index;
59 @property (nonatomic, copy) NSString *
title;
61 @property (nonatomic, strong) NSMutableArray<FSMenuItem *> * items;
70 - (instancetype)initWithTitle:(nullable NSString *)title items:(NSArray <
FSMenuItem *> *)items;
74 @property (nonatomic, copy) NSString *normalTitle;
75 @property (nonatomic, strong) UIColor *normalTitleColor;
92 - (void)presentActionInMenuViewByViewController:(UIViewController *(^)(
void))controller;
147 - (void)exchangeMenuItemGroupAtIndex:(NSInteger)index1 withMenuItemGroupAtIndex:(NSInteger)index2 forMenuViewType:(
FSMenuViewType)menuViewType;
190 NS_ASSUME_NONNULL_END