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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -