测试配置
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#import "ViewController.h"
|
||||
|
||||
@interface ViewController ()
|
||||
|
||||
@property (nonatomic,strong)UITextField *textField;
|
||||
@end
|
||||
|
||||
@implementation ViewController
|
||||
@@ -16,6 +16,14 @@
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
// Do any additional setup after loading the view.
|
||||
self.view.backgroundColor = [UIColor grayColor];
|
||||
self.textField = [[UITextField alloc] init];
|
||||
self.textField.frame = CGRectMake(100, 100, 200, 40);
|
||||
self.textField.layer.borderWidth = 1;
|
||||
self.textField.layer.borderColor = [UIColor redColor].CGColor;
|
||||
[self.view addSubview:self.textField];
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user