BLKDelegateSplitter does not work for scrollView delegate calls
kylebshr opened this issue · 2 comments
kylebshr commented
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 commented
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 commented
This is fixed now. Thanks for bringing my attention to this issue.