mirror of
https://github.com/wnagrodzki/CocoaProgrammingGuidelines.git
synced 2025-07-01 10:05:36 +02:00
Improves naming convention for initialize method in UIVIew section.
This commit is contained in:
parent
af97f7bd59
commit
4db0f8874f
2 changed files with 3 additions and 3 deletions
Binary file not shown.
|
@ -841,7 +841,7 @@ Either by calling \inlinecode{initWithFrame:}, or \inlinecode{initWithCoder:} me
|
|||
{
|
||||
self = [super initWithFrame:frame];
|
||||
if (self) {
|
||||
[self initialize];
|
||||
[self initializeExampleView];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
@ -850,12 +850,12 @@ Either by calling \inlinecode{initWithFrame:}, or \inlinecode{initWithCoder:} me
|
|||
{
|
||||
self = [super initWithCoder:aDecoder];
|
||||
if (self) {
|
||||
[self initialize];
|
||||
[self initializeExampleView];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)initialize
|
||||
- (void)initializeExampleView
|
||||
{
|
||||
_textField = [[UITextField alloc] init];
|
||||
_textField.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
|
|
Loading…
Add table
Reference in a new issue