// // KMPopMenuViewController.h // SignFlow // // Created by Kdan on 2020/10/23. // #import @protocol KMCustomButtonPopMenuViewControllerDataSources //pop框有多少行 - (NSInteger)numberOfLine; //pop框某行显示的文字 - (nullable NSString *)stringForLineAtIndex:(NSInteger)index; //某行是否需要下划线 - (BOOL)needInsertSeperateLineAtIndex:(NSInteger)index; //某行是否需要选取 - (BOOL)needHightLightLineAtIndex:(NSInteger)index; - (nullable NSImage *)imageForLineAtIndex:(NSInteger)index; - (BOOL)itemEnableAtIndex:(NSInteger)index; @end @protocol KMCustomButtonPopMenuViewControllerDelegate - (void)customViewButtonPopDidSelectIndex:(NSInteger)index; @end NS_ASSUME_NONNULL_BEGIN @interface KMCustomButtonPopMenuViewController : NSViewController @property (nonatomic, assign)iddataSources; @property (nonatomic, assign)iddelegate; @end NS_ASSUME_NONNULL_END