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

必需要把项目中的NavigationController继承YPNavigationController吗? #43

Open
jiakaiHE opened this issue Oct 28, 2019 · 1 comment

Comments

@jiakaiHE
Copy link

jiakaiHE commented Oct 28, 2019

@interface BaseNavigationController : YPNavigationController 而且还要在.m中实现protocol方法吗?

@yiplee
Copy link
Owner

yiplee commented Oct 28, 2019

不是必需。

https://github.com/yiplee/YPNavigationBarTransition/blob/master/YPNavigationBarTransition/YPNavigationController.m#L35

参考这里,你可以自己初始化一个 YPNavigationBarTransitionCenter 然后把它作为你的 NavigationController 的 delegate。

@jiakaiHE jiakaiHE reopened this Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants