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
Post a Comment