-(UIView*) headerView{
if(!headerView){
[[NSBundle mainBundle] loadNibNamed: @"HeaderView" owner:self options: nil];
}
return headerView;
}
在xib文件中,我pointer从文件的所有者向headerView. 为什么这还不够,还Nib需要加载?
-(UIView*) headerView{
if(!headerView){
[[NSBundle mainBundle] loadNibNamed: @"HeaderView" owner:self options: nil];
}
return headerView;
}
在xib文件中,我pointer从文件的所有者向headerView. 为什么这还不够,还Nib需要加载?