leah / PullToRefresh

A simple iPhone TableViewController for adding pull-to-refresh functionality.
http://blog.leahculver.com/2010/07/iphone-pull-to-refresh.html
MIT License
1.91k stars 252 forks source link

Updated animations to use blocks introduced in iOS 4 #20

Closed endoze closed 12 years ago

endoze commented 12 years ago

Updated PullRefreshTableViewController.m to use the new style animations introduced in iOS4. Per the Apple documents on UIView, use of the old style animations is discouraged in iOS 4 and later and they suggest using block-based animation methods instead.

endoze commented 12 years ago

I think I did this right. New to git and github. I've been using Subversion for a long time so just now getting the hang of the differences.