[objective-c]xibからUIView生成
xibからUIView生成
NSArray*objects=[[NSBundle mainBundle] loadNibNamed:@"NibName" owner:self options: nil]; UIView*view=[objects objectAtIndex: 0];
xibからUIView生成
NSArray*objects=[[NSBundle mainBundle] loadNibNamed:@"NibName" owner:self options: nil]; UIView*view=[objects objectAtIndex: 0];