Open Source Pull-To-Refresh Control Supporting The UIRefreshControl API In iOS 5

With the addition of UIRefreshControl in iOS 6 Apple provided a great API for creating pull to refresh controls.

Here’s a control from Instructure called CKRefreshControl that provides the same API as UIRefreshControl, but can work with iOS 5 so you can simply use your existing UIRefreshControl with CKRefreshControl.

CKRefreshControl also supports the UIAppearance protocol for customization.

On iOS 6 UIRefreshControl is automatically used instead, and any customizations are forwarded to UIRefreshControl.

Here are a couple of images showing CKRrefreshControl in action from the readme:

CKRefreshControl-1CKRefreshControl-2

You can find CKRefreshControl on Github here.

A nice easy way to add UIRefreshControl in iOS 5 apps.

DeliciousTwitterFacebookRedditLinkedInEmail

Original article: Open Source Pull-To-Refresh Control Supporting The UIRefreshControl API In iOS 5

©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *