SKStatefulTableViewController
UITableviewController subclass that supports pull-to-refresh, load-more, initial-load, and empty states.
Install / Use
/learn @shiki/SKStatefulTableViewControllerREADME
SKStatefulTableViewController

SKStatefulTableViewController is a UITableViewController subclass that supports these states:
State | Description
------|-----------------------------------------
SKStatefulTVCStateLoadingFromPullToRefresh | the standard pull to refresh functionality you see in most apps
SKStatefulTVCStateLoadingMore | shows a "loading" view when the user scrolls to the bottom
SKStatefulTVCStateInitialLoading | shows a static view when showing the controller for the first time (e.g. a big-ass spinner icon)
SKStatefulTVCStateInitialLoadingTableView | shows the tableView instead of a static view when the controller is shown for the first time
SKStatefulTVCStateEmptyOrInitialLoadError | shows a static view that indicates whether the initial load failed or there are no data to show
The states can be disabled depending on your needs. The views used by the states can also be customized.
Installation
Add this to your project using Cocoapods.
pod "SKStatefulTableViewController", "~> 0.1"
Customizing the state views
Work in progress. Please see the Demo project on how to do this for now.
Related Skills
openhue
339.5kControl Philips Hue lights and scenes via the OpenHue CLI.
sag
339.5kElevenLabs text-to-speech with mac-style say UX.
weather
339.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.
