appunite / CLCascade

Twitter-like cascade UI library
http://appunite.com/
Other
504 stars 67 forks source link

viewWillAppear method is not called #15

Closed magicdvd closed 12 years ago

magicdvd commented 12 years ago

i follow the example code , create my own viewController extends the CLViewController,

when i use pushDetailViewController method , it will just call 'viewDidLoad', the 'viewWillAppear' is not called.

is it a correct behavior of CLViewController?

emilwojtaszek commented 12 years ago

It should work on ios 5

eliperkins commented 12 years ago

I have noticed a similar behavior with the viewWillDisappear and viewWillUnload methods not being called in some CLViewControllers. I believe it is since their parent views (CLCascadeNavigationController, etc.) do not explicitly call or extend those methods.

emilwojtaszek commented 12 years ago

you can override this two methods, to achieve similar behaviours: