Jasonette / JASONETTE-iOS

📡 Native App over HTTP, on iOS
https://www.jasonette.com
MIT License
5.27k stars 352 forks source link

migrate to native UIRefreshControl #278

Closed gliechtenstein closed 6 years ago

gliechtenstein commented 6 years ago

This PR updates the pull-to-refresh to the native UIRefreshControl.

Previously we used a library called SVPullToRefresh but it's buggy and not maintained anymore, so it's hard to keep using it with iOS keep changing things around.

Using a native pull-to-refresh is good because:

  1. it's native
  2. personally it looks much better than the arrow UI from SVPullToRefresh
  3. Gets rid of just another 3rd party dependency
  4. Fixes a bug for $pull action where it became too sensitive in ios 11

You can test it out at https://jasonbase.com/things/Dzpw

Here's what it looks like:

pulltorefresh