NFCDatePickerView.h 478 B

12345678910111213141516171819202122232425
  1. //
  2. // NFCDatePickerView.h
  3. // ZimDemo
  4. //
  5. // Created by 汪澌哲 on 2023/6/7.
  6. // Copyright © 2023 com.alipay. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NFCDatePickerView : UIView
  11. @property (nonatomic, copy) void (^onConfirm)(NSDate *);
  12. @property (nonatomic, copy) NSString *maxDate;
  13. - (void)showWithSelectedDate:(NSDate *)selectedDate onConfirm:(void (^)(NSDate *date))onConfirm;
  14. - (void)dismiss;
  15. @end
  16. NS_ASSUME_NONNULL_END