Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timonus/tjspinny
Fullscreen activity indicator views.
https://github.com/timonus/tjspinny
loading-animation loading-screen loading-spinner objc objective-c uiactivityindicatorview uikit
Last synced: about 2 months ago
JSON representation
Fullscreen activity indicator views.
- Host: GitHub
- URL: https://github.com/timonus/tjspinny
- Owner: timonus
- License: bsd-3-clause
- Created: 2020-04-10T03:43:45.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T02:36:29.000Z (2 months ago)
- Last Synced: 2024-10-21T05:50:36.379Z (2 months ago)
- Topics: loading-animation, loading-screen, loading-spinner, objc, objective-c, uiactivityindicatorview, uikit
- Language: Objective-C
- Size: 107 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TJSpinny
Sometimes you want to show a `UIActivityIndicatorView` in the middle of a view controller to show that something's happening.
![](Images/demo.gif)
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|
|---|---|
|![](Images/light.png)|![](Images/dark.png)|- It's a "squircle" shape (aka `kCACornerCurveContinuous`) on iOS 13+.
|Squircle (iOS 13+)|Rounded Rect|
|---|---|
|![](Images/light.png)|![](Images/nosquircle.png)|- Built-in support for the iOS ["reduce motion" accessibility setting](https://support.apple.com/en-us/HT202655).
- Written in Objective-C for all you dinosaurs out there. 🦖---
This project is used in [Opener](https://apps.apple.com/app/id989565871), [Close-up](https://apps.apple.com/app/id515789135), [Burst](https://apps.apple.com/app/id1355171732), and [Checkie](https://apps.apple.com/app/id382356167). 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!