开发者

where to do initialization in tableviewcontroller

开发者 https://www.devze.com 2023-02-05 16:55 出处:网络
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 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

精彩评论

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