YMSheetPopupView.h 721 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // YMSheetPopupView.h
  3. // MSYOUPAI
  4. //
  5. // Created by YoMi on 2024/3/4.
  6. // Copyright © 2024 MS. All rights reserved.
  7. //
  8. #import "YMBaseView.h"
  9. #import "YMBaseTableViewCell.h"
  10. NS_ASSUME_NONNULL_BEGIN
  11. typedef void(^ListDidSelectIndexBlock)(NSInteger index);
  12. typedef void(^CloseButtonBlock)(void);
  13. @interface YMSheetPopupView : YMBaseView
  14. /** 列表选中下标回调 */
  15. @property (nonatomic, copy) ListDidSelectIndexBlock selectIndexBlock;
  16. /** 关闭按钮回调 */
  17. @property (nonatomic, copy) CloseButtonBlock closeBlock;
  18. /**
  19. 配置项目列表
  20. @param itemList 项目列表
  21. */
  22. - (void)configutationWithItemList:(NSArray*)itemList;
  23. @end
  24. @interface YMSheetCell : YMBaseTableViewCell
  25. @end
  26. NS_ASSUME_NONNULL_END