Collection of animated spinners and bouncers for iOS. Thanks very much for looking at this repo. Hopefully these classes can form the starting point to your own custom activity indicator, or 'thinking face.'
Contributions always welcome. If you have a new idea for a fun spinner or bouncer, or see something that could be improved, please open a PR.
Playgrounds built with Xcode 9.3 🛠
All components are a single class, and come packaged within a playground. Tweak any parameters or timing curves you'd like, and then copy the code out into your own project. All of the classes come with built-in accessors for timing, tint, and other params.
⭐️ Each component is ~100lines of code, and can be tweaked or act as a starting point for your own custom spinner. 👍
Component Summary 📚
Kinetic bouncing ball. Customizable via
Inspired by Google, this spinner stretches and adjusts it's thickness for a more organic feel. Customizable via
Much like the system default
UIActivitySpinner. Customizable via
Adding many circles can create a more interesting shape.
A plinky animated solarsystem. The sizes of all planets, colors and spacing is all parameterizable.
masses all take a tuple of three
bodyColors accepts a tuple of
UIColor. Use this as a starting point and hack the code to add more than 3 planets.
Inspired from the ubiquitous 'Bootstrap' styled spinner. Customizable via
A very thin track tinted blue:
Or a very thick track
Pulsing ring animation customizable via
entropy. A higher entropy will make the pulse animation looks like a telescoping gradient.
The blue gif has a high entropy. Notice the pulse feels like it's 'buzzing'
The red gif has a lower entropy.
YoYo Bouncer 🗻
Abstract bouncer that looks a little like sun/moon trading places. Supports
Fading circles rotate clockwise. Customizable
Adding more circles
Subscribe to iOS Example
Get the latest posts delivered right to your inbox