Last active
August 29, 2015 14:05
-
-
Save bimawa/379beb1fe038725ba071 to your computer and use it in GitHub Desktop.
Create init methods for UIVIew elements and subclasses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (id)initWithFrame:(CGRect)frame | |
{ | |
self = [super initWithFrame:frame]; | |
if (self) | |
{ | |
[self p_configureView]; | |
[self p_configureConstraints]; | |
} | |
return self; | |
} | |
- (void)p_configureView | |
{ | |
} | |
- (void)p_configureConstraints | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment