// // XPMineVerifIdentityView.h // xplan-ios // // Created by 冯硕 on 2021/9/18. // #import NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger,XPMineVerifIdentityType ) { XPMineVerifIdentityType_Phone, ///手机号 XPMineVerifIdentityType_Sms,///验证码 }; typedef void(^VerifIdentitySmsCodeBlock)(UIButton *sender); @interface XPMineVerifIdentityView : UIView ///输入框 @property (nonatomic, strong, readonly) UITextField *contentTextField; ///发送验证码 @property (nonatomic, strong, readonly) UIButton *smsCodeButton; ///点击了smsCode @property (nonatomic,copy) VerifIdentitySmsCodeBlock smsCodeBlock; /// @property (nonatomic,assign) XPMineVerifIdentityType type; ///占位 @property (nonatomic, strong) NSString *placeholder; @end NS_ASSUME_NONNULL_END