• Stars
    star
    138
  • Rank 264,508 (Top 6 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 13 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A custom UIViewController with a UITableView which supports "pull to refresh" and "load more"

DEPRECATED: This library is no longer maintained. It has been replaced with the newer SKStatefulTableViewController.

STableViewController

STableViewController is a custom table view controller that supports pull-to-refresh and load-more. It was designed to have views and behaviors that can be easily customized.

See the demo project in Demo/Demo.xcodeproj.

Usage

To start, simply copy STableViewController.h and STableViewController.m into your project file.

STableViewController is not very useful on its own. It has to be subclassed to apply your custom views and adjust any behavior. To get started quickly, you may include these files for reference:

  • DemoTableViewController - subclass of STableViewController. This declares what views to use for pull-to-refresh and load-more. Also includes samples on what methods to override for data loading and a sample customization to interact with the header and footer views depending on the situation.
  • DemoTableHeaderView - the view used for pull-to-refresh
  • DemoTableFooterView - the view used for load-more

You may also opt to implement your own subclass for STableViewController and use your own views for pull-to-refresh and load-more.

See STableViewController.h for more information on the methods available.

More Repositories

1

kaiseki

A Parse.com REST API Client for Node.js
JavaScript
223
star
2

SKStatefulTableViewController

UITableviewController subclass that supports pull-to-refresh, load-more, initial-load, and empty states.
Objective-C
55
star
3

android-autobgbutton

Automatic pressed and disabled state for custom Button background images.
Java
54
star
4

yii-apns

Yii Framework extension that wraps the Apple Push Notification library apns-php: http://code.google.com/p/apns-php
PHP
22
star
5

yii-firephp

FirePHP extension for Yii Framework
CSS
15
star
6

snotifications

A simple PHP version of Apple's NSNotificationCenter. This can also be used as a Yii Framework component.
PHP
7
star
7

dotfiles

.files and macOS setup
Perl
5
star
8

ios-benihime

A collection of independent utility classes for developing iOS apps.
Objective-C
5
star
9

yii-facebookapp

A Yii Framework extension for creating Facebook apps (iframe or external).
PHP
4
star
10

SLatLon

An Objective-C port of the Latitude/longitude spherical geodesy formulae & scripts by Chris Veness. (http://www.movable-type.co.uk/scripts/latlong.html)
Objective-C
4
star
11

Yiinstalk

A Yii-framework extension that wraps Pheanstalk, a PHP client for beanstalkd.
PHP
4
star
12

jquery.hslider

A jQuery plugin, this is a base utility for creating user interfaces with horizontal sliding.
CoffeeScript
3
star
13

php-oauth

An OAuth 1.0 implementation for PHP based on the PHP library in http://code.google.com/p/oauth/
PHP
2
star
14

Yedis

Yii Framework extension that wraps Predis: https://github.com/nrk/predis
PHP
2
star
15

.vim

My newbie vim config files
Vim Script
2
star
16

PlainOAuthCore

The core classes in PlainOAuth without the tight coupling on Twitter-related classes.
Objective-C
2
star
17

titanium-ferro

A simple helper library for Titanium Mobile
JavaScript
1
star
18

shinso

1
star
19

jquery.nearbottom

A jQuery plugin that calls a callback when the user scrolls to the bottom of the page. Useful for infinite page loads.
JavaScript
1
star
20

yii-jst

A Yii Framework extension for compiling JavaScript template files and then providing/hosting them through a HTTP endpoint (CAction) or compiling them through a console command.
PHP
1
star
21

yii-sentry

A Yii Framework extension for logging to Sentry (getsentry.com). Uses raven-php internally as the Sentry client.
PHP
1
star
22

harusame

1
star