Open killev opened 8 years ago
Wow, thanks for the thorough PR. Your note about the weakSelf is very true, you're not missing anything. That was a bug, thanks for fixing it.
I will need to test this thoroughly as well, since it affects the current behavior for many users, which I need to make sure it doesn't cause any surprises for them.
I'll be testing it right away.
In my initial testing, everything seems OK except when you start scrolling down and stop when the navigation bar is half way visible, the content will be scrolled up twice while hiding the navbar.
Also, I am really wondering if we need all these changes to implement the points you mentioned? I feel there are too many changes, and I am worried about changing the behavior too much. Although, I will have to test even more to make sure all the changes are needed. (for example, the change in viewWillDisappear:
related to swizzling)
Thanks for making the fix, I'll need to review this again
Hello,
Thank you for so beautiful library. It helped me a lot, but there are a few bug and behaviour inconsistencies:
I'm hiding/showing navigation bar via setNavigationBarHidden when pushing/poping details vew. And at that moment line:
[superview convertPoint:maxEdge fromView:self.view]
is working incorrectly.So I've replaced it gently.
Also there was strange code that created weak pointer without assignation:
__weak __typeof(self) weakSelf;
I've changed it by:__weak __typeof(self) weakSelf = self;
Maybe I miss something in objective-c?
Hope my changes will help you a bit.
Regards, Peter