[IPhone Development] How to Implement Tweetie's pull-down-Refresh

Source: Internet
Author: User

 

People who have used Tweetie should know that pull-down-refresh is a powerful control.
This powerful control is even mistaken for Apple's original control. Only because it is compatible with tableview.
Many applications have added this control, but how can we quickly and easily build it into our own applications. To implement this function, there are several key points: 1. add a view on tableview to control all operations. in the view, control the corresponding RESPONSE event, related status and latest update time. in tableview, some responses of scroll are processed, such as the function to be returned after the float is reached. The above points are complicated to do. However, we are lucky to have theoretical support from foreigners, Devindoty shared a project to help us quickly build such an application. The project URL is as follows:Http://github.com/enormego/EGOTableViewPullRefresh

Coming soonCodeAnalysis is coming soon.

First, let's share some images in my work:

Release to refresh:

Loading:

F

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.