+ (instancetype)view {
NSString *className = NSStringFromClass([self class]);
return [[[NSBundle mainBundle] loadNibNamed:className owner:nil options:0] firstObject];
}
Created
July 18, 2014 06:04
-
-
Save himaratsu/910f2f76ba1d0a81c805 to your computer and use it in GitHub Desktop.
カスタムViewをnibから読みこんで受け取る
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment