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 target/gesture to AnimatingBarButton #79

Closed
fbernack opened this issue Apr 11, 2018 · 3 comments
Closed

Add target/gesture to AnimatingBarButton #79

fbernack opened this issue Apr 11, 2018 · 3 comments
Labels

Comments

@fbernack
Copy link

Hello there,

i'm currently not able to add a target to the AnimatingBarButton appearing on the ExpandingViewController. I just want to execute a segue to another view controller on tap. I think because it's a custom view, i need to handle user interactions by myself, but i don't know how.

Can anybody help?

Thank you very much.

Francis

@0ber 0ber added the question label Apr 11, 2018
@0ber 0ber closed this as completed Apr 11, 2018
@fbernack
Copy link
Author

Hi ober01,
thanks for the quick reply, but i'm not sure if we're on the same page or i just don't get it.
I have problem with the UIBarButtonItem (rightButton) on the ExpandingViewController, not the ExpandingTableViewController. In the demo there is the crosshair icon. Is it possible to add a target to an independent action?

Francis

@0ber
Copy link
Contributor

0ber commented Apr 11, 2018

The problem is rightButton inherited from AnimationBarButton. AnimationBarButton class is not a part of the library, it is just for a quick demo project. If right button inherited from UIBarButtonItem, action would be work

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

No branches or pull requests

2 participants