In iOS 6’s Mail app there is a “release to refresh” animation that looks like a chewing gum or rubber being pulled then released. Anybody know how to replicate drawing of this control using Core Graphics?
The background is I’d like to replicate this behavior on a mac and there isn’t any equivalent of UIRefreshControl in Mountain Lion.
Note: this is a continuation to iOS 6 – How can I get the "release to refresh" animation thing? like in mail?
I haven’t found any implementation of UIRefreshControl (or equivalent) for Mountain Lion at this moment. However, there are implementations of equivalent controls for iOS 4 and iOS 5 (because those systems doesn’t have UIRefreshControl). So you can try doing a port of those codes to OSX.
I have found 2 projects on github:
https://github.com/ishkawa/ISRefreshControl
https://github.com/dbsGen/SlimeRefresh