Last active
December 17, 2015 22:39
-
-
Save motoishmz/5683874 to your computer and use it in GitHub Desktop.
This file contains 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
@implementation MyView | |
- (id)init | |
{ | |
self = [super init]; | |
if (self) | |
{ | |
UINib *nib = [UINib nibWithNibName:@"SettingView" bundle:nil]; | |
UIView *settingView = [[nib instantiateWithOwner:self options:nil] objectAtIndex:0]; | |
[self addSubview:settingView]; | |
} | |
return self; | |
} | |
- (void)awakeFromNib | |
{ | |
[super awakeFromNib]; | |
testLabel.text =@"asdadas"; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment