forked from coding/Coding-iOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInput_OnlyText_Cell.h
More file actions
33 lines (26 loc) · 1.03 KB
/
Input_OnlyText_Cell.h
File metadata and controls
33 lines (26 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
// Input_OnlyText_Cell.h
// Coding_iOS
//
// Created by 王 原闯 on 14-8-4.
// Copyright (c) 2014年 Coding. All rights reserved.
//
#define kCellIdentifier_Input_OnlyText_Cell @"Input_OnlyText_Cell"
#import <UIKit/UIKit.h>
#import "UITapImageView.h"
@interface Input_OnlyText_Cell : UITableViewCell
@property (assign, nonatomic) BOOL isCaptcha, isForLoginVC;
@property (strong, nonatomic) UIView *lineView;
@property (strong, nonatomic) UITapImageView *captchaView;
@property (strong, nonatomic) UIImage *captchaImage;
@property (weak, nonatomic) IBOutlet UITextField *textField;
@property (weak, nonatomic) IBOutlet UIButton *clearBtn;
@property (nonatomic,copy) void(^textValueChangedBlock)(NSString*);
@property (nonatomic,copy) void(^editDidEndBlock)(NSString*);
- (IBAction)editDidBegin:(id)sender;
- (IBAction)editDidEnd:(id)sender;
- (void)configWithPlaceholder:(NSString *)phStr andValue:(NSString *)valueStr;
- (IBAction)textValueChanged:(id)sender;
- (IBAction)clearBtnClicked:(id)sender;
- (void)refreshCaptchaImage;
@end