Skip to content
Projetos

leah/PullToRefresh

Ver no GitHub

Sobre

Um TableViewController simples para iPhone que adiciona funcionalidade de pull-to-refresh.

Outros projetos

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
-3
em 1 mês
-4

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Attention: As of iOS 6.0, there is a UIRefreshControl object that makes adding pull-to-refresh functionality super easy. If you only need to support iOS 6.0 and later, I'd recommend using UIRefreshControl instead.

PullToRefresh

A simple iPhone TableViewController for adding pull-to-refresh functionality.

Inspired by Tweetie 2, Oliver Drobnik's blog post and EGOTableViewPullRefresh.

How to install

  1. Copy the files, PullRefreshTableViewController.h, PullRefreshTableViewController.m, and arrow.png into your project.

  2. Link against the QuartzCore framework (used for rotating the arrow image).

  3. Create a TableViewController that is a subclass of PullRefreshTableViewController.

  4. Customize by adding your own refresh() method.

Enjoy!

Explore projetos relacionados

Carregando…