ios - Storyboard initWithCoder ok, but when is encodeWithCoder called -
i experimenting storyboard , nscoder. initwithcoder called right, when viewcontroller being loaded storyboard.
how , when call encodewithcoder? guess done storyboard loading other view or disposing viewcontroller. tried dismissviewcontrolleranimated on viewcontroller containing encodewithcoder method.
any idea?
thanks
encodewithcode called when object serialized byte stream can written disk / send on network or ... storyboard never called never written disk read disk
Comments
Post a Comment