38 lines
681 B
Objective-C
38 lines
681 B
Objective-C
//
|
|
// YMLoginInputView.h
|
|
// YUMI
|
|
//
|
|
// Created by XY on 2023/2/14.
|
|
//
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@protocol XPLoginInputViewDelegate <NSObject>
|
|
|
|
- (void)smsCodeAction;
|
|
|
|
- (void)areaListAction;
|
|
|
|
@end
|
|
|
|
@interface XPLoginInputView : UIView
|
|
///
|
|
@property (nonatomic,strong) UIStackView *areaStackView;
|
|
/// 区号
|
|
@property (nonatomic, strong) UIButton *areaCodeBtn;
|
|
/// 输入框
|
|
@property (nonatomic, strong) UITextField *inputTextField;
|
|
/// 验证码
|
|
@property (nonatomic, strong) UIButton *smsCodeBtn;
|
|
|
|
@property (nonatomic, weak) id<XPLoginInputViewDelegate> delegate;
|
|
|
|
//开启倒计时
|
|
- (void)fireTimer;
|
|
-(void)cancelTimer;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|