Improves naming convention for initialize method in UIVIew section.

This commit is contained in:
Wojciech Nagrodzki 2014-09-26 20:42:29 +02:00
parent af97f7bd59
commit 4db0f8874f
Signed by: wnagrodzki
GPG key ID: E9D0EB0302264569
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -841,7 +841,7 @@ Either by calling \inlinecode{initWithFrame:}, or \inlinecode{initWithCoder:} me
{ {
self = [super initWithFrame:frame]; self = [super initWithFrame:frame];
if (self) { if (self) {
[self initialize]; [self initializeExampleView];
} }
return self; return self;
} }
@ -850,12 +850,12 @@ Either by calling \inlinecode{initWithFrame:}, or \inlinecode{initWithCoder:} me
{ {
self = [super initWithCoder:aDecoder]; self = [super initWithCoder:aDecoder];
if (self) { if (self) {
[self initialize]; [self initializeExampleView];
} }
return self; return self;
} }
- (void)initialize - (void)initializeExampleView
{ {
_textField = [[UITextField alloc] init]; _textField = [[UITextField alloc] init];
_textField.translatesAutoresizingMaskIntoConstraints = NO; _textField.translatesAutoresizingMaskIntoConstraints = NO;