Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source iOS Component That Enables Pull To Refresh With One Line Of Code

  •  
  •  
  •  
  •  
  •  

Pull-to-refresh has become a commonly used paradigm on touch screen devices and there are a number of open source implementations that allow you to add the pull to refresh capability to a UITableView.

Today I came across a new library that allows you to add pull to refresh to an UIScrollView subclass , and with just one line of code, and no delegates or subclassing UITableViewController.  You can also easily customize the look of the text, arrow, and activity indicator.

The library is SVPullToRefresh from Sam Vermette who also created the previously mentioned in-line browser view, and highly customizable segmented control components.

You can find SVPullToRefresh on Github here.

A good alternative if you want both simplicity and don’t want to use a component that subclasses UITableViewController.

 


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments