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

TableViewDelegate的点击事件 #4

Open
yinanwang1 opened this issue May 26, 2016 · 3 comments
Open

TableViewDelegate的点击事件 #4

yinanwang1 opened this issue May 26, 2016 · 3 comments

Comments

@yinanwang1
Copy link

如果在TableViewDelegate的didSelect方法中,需要进行Push的操作,需要怎么执行?

@coderyi
Copy link
Owner

coderyi commented May 26, 2016

可以在TableViewDelegate类中设置block回调到ViewController

@yinanwang1
Copy link
Author

didSelect的一个Block,如果cell上有3个buttons,这个3个Button的target,是不是也需要使用block的,那么TableViewDelegate中的block会有很多个。 是不是这样的?

@coderyi
Copy link
Owner

coderyi commented May 30, 2016

一个block 可以传出不同的type 来,没必要多个block

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