Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 πŸ˜„.