阅读背景:

以编程方式修改从nib初始化的UITableViewCell ?

来源:互联网 

I am loading a UITableViewCell from a nib using [[NSBundle mainBundle] loadNibNamed:...]. Now I want to do some post-initialization work programmatically, before the tableviewcell get used in my code. Where should I put this code, as I can't seem to do it in the initWithCoder methods, as the label objects in the class are still nil (so can't set anything). When are the UILabels in the tableviewcell initialized in the first place (they are all defined as IBOutlets)?I am loading a UITableViewCell from a nib using




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: