Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more blocks for EAIntroPage lifecycle #165

Open
sesameImmortals opened this issue May 13, 2016 · 2 comments
Open

Add more blocks for EAIntroPage lifecycle #165

sesameImmortals opened this issue May 13, 2016 · 2 comments

Comments

@sesameImmortals
Copy link

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.

@ealeksandrov ealeksandrov changed the title About on the problem of loading the EAIntroPage Add more blocks for EAIntroPage lifecycle Nov 12, 2016
@hardikamal
Copy link

How do i use this??

@ealeksandrov
Copy link
Owner

  1. When onPageWillAppear and onPageWillDisappear should be called?
  2. What is actual need for this number of events? I assume any "init" code for onPageWillAppear can be safely and effectively done in onPageDidLoad. And any "deinit" - in onPageDidDisappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants