开发者

where to do initialization in tableviewcontroller

I have some instance variables i would like to intialize in my tableviewcontroller. I already use my nib file to set the table style. Would i still call initWithStyle: to do the initialization or would i do the initia开发者_Python百科lization in viewDidLoad:?

Thanks.


if your controller is stored inside a nib file, you should use awakeFromNib.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜