Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timonus/WatchActivityIndicator
An Apple Watch activity indicator
https://github.com/timonus/WatchActivityIndicator
activity-indicator apple-watch watchkit watchos
Last synced: 21 days ago
JSON representation
An Apple Watch activity indicator
- Host: GitHub
- URL: https://github.com/timonus/WatchActivityIndicator
- Owner: timonus
- Created: 2015-06-13T18:58:18.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-27T03:26:57.000Z (over 4 years ago)
- Last Synced: 2024-07-30T21:01:43.341Z (4 months ago)
- Topics: activity-indicator, apple-watch, watchkit, watchos
- Size: 164 KB
- Stars: 23
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Checkie Watch Activity Indicator
This is the image sequence I use for the activity indicator shown in [Checkie](http://checki.es) for the Apple Watch when checking in.
![](gif.gif)
Since Apple doesnβt provide a stock activity indicator for the Apple Watch, I wrote this to mimic some common modern activity indicators (like [this](https://github.com/TransitApp/SVProgressHUD)). Each image in the sequence is 10x10@2x and displayed for 25 milliseconds (40fps).
Sample Use:
```
WKInterfaceImage *activityIndicatorImage = ...;
[activityIndicatorImage setImageName:@"ai"];
[activityIndicatorImage startAnimatingWithImagesInRange:NSMakeRange(0, 40) duration:1.0 repeatCount:0];
```Iβm not open sourcing the code because itβs inflexible and ugly, it was a means to an end π.