uitableview - iOS neither init or initWithCoder are been called -


i add tableview viewcontroller , need initialize properties. neither -(id)init or - (id)initwithcoder:(nscoder*)adecoder been called.

my header file:

@interface myviewcontroller : uiviewcontroller <uitableviewdelegate,uitableviewdatasource> 

any of knows why or how can either init methods call?

i appreciate help

the uiviewcontroller reference states initwithnibname:bundle: designated initializer. that's 1 should override if you're doing stuff during initialization.

update: right, pointed out simon, override initwithcoder: if you're using storyboard (though assume op not, said initwithcoder: not getting called).


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -