Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scroll To Refresh on Lion

Is it possible to get the "pull-to-refresh" scrollview, present in many applications on iOS, on Lion? I have been able to get my view in the "bounce area" of the scroll view and detect when to refresh. My problem is keeping the view scrolled up while refreshing and then disabling that when it is done.

Any ideas?

like image 882
Alex Zielenski Avatar asked Oct 31 '11 22:10

Alex Zielenski


1 Answers

I finally achieved this and I open-sourced my code here: https://github.com/alexzielenski/ScrollToRefresh

like image 200
Alex Zielenski Avatar answered Oct 18 '22 04:10

Alex Zielenski