标签:
方法1:
NSArray *objects = [[NSBundle mainBundle] loadNibNamed:@"flowerCell" owner:self options:nil];
cell = objects[0];
方法2:
UINib *nib = [UINib nibWithNibName:@"flowerCell" bundle:nil];
NSArray *objects = [nib instantiateWithOwner:nil options:nil];
cell = objects[0];
标签:
原文地址:http://www.cnblogs.com/yuyu-2012/p/4701236.html