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

BLKDelegateSplitter does not work for scrollView delegate calls #13

Closed
kylebshr opened this issue Apr 2, 2015 · 2 comments
Closed

BLKDelegateSplitter does not work for scrollView delegate calls #13

kylebshr opened this issue Apr 2, 2015 · 2 comments

Comments

@kylebshr
Copy link

kylebshr commented Apr 2, 2015

I'm attempting to implement scrollViewDidScroll for my UITableView, but the splitter doesn't work with it for some reason. If I set my delegate like this, scrollViewDidScroll is called: tableView.delegate = self. But if I set it to the splitter, the scrollview method isn't called, even though the TableView Delegate methods are called:

delegateSplitter = BLKDelegateSplitter(firstDelegate: flexBar.behaviorDefiner, secondDelegate: self)
activityTable.delegate = delegateSplitter

Really not sure how to fix this, any pointers would be helpful.

@kylebshr
Copy link
Author

kylebshr commented Apr 3, 2015

It seems like this works if you make the firstDelegate: self — I still feel this is buggy behavior.

EDIT: Never mind — this prevents the bar from adjusting its height.

@bryankeller
Copy link
Owner

This is fixed now. Thanks for bringing my attention to this issue.

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