AmountInputAlertView.h 707 B

123456789101112131415161718192021222324
  1. //
  2. // AmountInputAlertView.h
  3. // Tsn
  4. //
  5. // Created by 翟玉磊 on 2019/3/14.
  6. // Copyright © 2019 翟玉磊. All rights reserved.
  7. //
  8. #import "YLBaseAlertView.h"
  9. NS_ASSUME_NONNULL_BEGIN
  10. /// index按钮索引 1是取消 2是确认
  11. typedef void(^AmountInputAlertViewClickIndex)(NSInteger index, NSString *amount);
  12. @interface AmountInputAlertView : YLBaseAlertView
  13. @property (nonatomic,copy) AmountInputAlertViewClickIndex clickIndex;
  14. - (instancetype)initWithTitle:(nullable NSString *)title message:(nullable NSString *)message placeholder:(NSString *)placeholder keyboardType:(UIKeyboardType)keyboardType sureBtn:(NSString *)sureTitle cancleBtn:(NSString *)cancleTitle;
  15. @end
  16. NS_ASSUME_NONNULL_END