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.
精彩评论