Skip to content

timonus/TJSpinny

Repository files navigation

TJSpinny

Sometimes you want to show a UIActivityIndicatorView in the middle of a view controller to show that something's happening.

This project does exactly that.

Features

  • Dead simple API.
  • Delayed presentation (only start showing after duration unless cancelled, useful for not showing the spinny at all for work that may occur quickly).
  • Dark mode? We got yer dark mode.
Light Mode Dark Mode
  • It's a "squircle" shape (aka kCACornerCurveContinuous) on iOS 13+.
Squircle (iOS 13+) Rounded Rect

This project is used in Opener, Close-up, Burst, and Checkie. It seemed like a common enough thing that it was worth open sourcing.

There are plenty of libraries out there with many more features, but this is all I've ever really needed for my apps!