EAIntroView
EAIntroView copied to clipboard
Add more blocks for EAIntroPage lifecycle
about EAIntroPage you have three attribute, @property (nonatomic,copy) VoidBlock onPageDidLoad; @property (nonatomic,copy) VoidBlock onPageDidAppear; @property (nonatomic,copy) VoidBlock onPageDidDisappear;
But it has limitations. I hope you can provide some other attributes, such as @property (nonatomic,copy) VoidBlock onPageWillAppear; @property (nonatomic,copy) VoidBlock onPageWillDisappear; like UIview life cycle,
Being able to add some other attribute like UIView life cycle, would be appreciated.
Thanks for the consideration.
How do i use this??
- When
onPageWillAppearandonPageWillDisappearshould be called? - What is actual need for this number of events? I assume any "init" code for
onPageWillAppearcan be safely and effectively done inonPageDidLoad. And any "deinit" - inonPageDidDisappear.