UINib : object wrappers , or containers.
An UINib object caches the contents of a nib file in memory.
#define DARK_BACKGROUND [UIColor colorWithRed:151.0/255.0 green:152.0/255.0 blue:155.0/255.0 alpha:1.0]
#define LIGHT_BACKGROUND [UIColor colorWithRed:172.0/255.0 green:173.0/255.0 blue:175.0/255.0 alpha:1.0]
nibWithNibName:bundle 方法
nibWithData:bundle方法 创建一个
这个最后返回的是一个数组:
instantiateWithOwner:options:
一般配套使用:
self.cellNib = [UINib nibWithNibName:@"IndividualSubviewsBasedApplicationCell" bundle:nil];
cell=[[self.cellNib instantiateWithOwner:self options:nil] lastObject];