STableViewController
A custom UIViewController with a UITableView which supports "pull to refresh" and "load more"
Install / Use
/learn @shiki/STableViewControllerREADME
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 ofSTableViewController. 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-refreshDemoTableFooterView- 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.
Related Skills
openhue
340.5kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
340.5kElevenLabs text-to-speech with mac-style say UX.
weather
340.5kGet current weather and forecasts via wttr.in or Open-Meteo
tweakcc
1.5kCustomize Claude Code's system prompts, create custom toolsets, input pattern highlighters, themes/thinking verbs/spinners, customize input box & user message styling, support AGENTS.md, unlock private/unreleased features, and much more. Supports both native/npm installs on all platforms.
