<commit_before># TTWKActivityIndicator

A drop-in component that simplifies creating of Apple Watch activity animations at run time in both 
regular iOS apps and WatchKit extensions. You can customize the color and the size of the bubbles.

<img src="screenshot.gif" style="width: 155px" />

It supports both the current style animation and the old one (seen in the betas of the Apple Watch simulator).

## Quick Start

To use with your WatchKit extension:

 - add a WKInterfaceImage into your storyboard exactly where you want the activity indicator to appear (WKInterfaceGroup can be used as well);
 
 - make sure its Mode is set to 'Center' and Width and Height to 'Size To Fit Content';
 
 - connect the image with a corresponding property of your subclass of WKInterfaceController;
 
 - import TTWKActivityIndicator.h;
 
 - create an instance of `TTWKActivityIndicator` within your awakeWithContext: method, for example:
 
    // This will create it with the default style and size
    TTWKActivityIndicator *indicator = [[TTWKActivityIndicator alloc]
	    initWithColor:[UIColor colorWithRed:0.9922 green:0.4549 blue:0.0000 alpha:1.0]
    ];
 
 - then transfer it into your image using `setToGroupOrImage:` method:
 
     // Assuming self.activityIndicator is an instance of WKInterfaceImage or WKInterfaceGroup
     [indicator setToGroupOrImage:self.activityIndicator];

 - done!

You can also check out the example project in `./Example/ActivityIndicator.xcodeproj`, header files have plenty of comments as well.

## Installation

TTWKActivityIndicator is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

    pod 'TTWKActivityIndicator'

You can also just drop in `/Pod/Classes/TTWKActivityIndicator.*` into your project (along with `/Pod/Classes/TTWKActivityIndicatorView.*` in case you need it a normal iOS app as well).

## Author & License

TTWKActivityIndicator is created by [TouchTribe B.V.](http://www.touchtribe.nl) and is available under the MIT license. See the LICENSE file for more info.<commit_msg>Tweaked the README a bit.<commit_after># TTWKActivityIndicator

A drop-in component that simplifies creating of Apple Watch activity animations at run time in both
regular iOS apps and WatchKit extensions. You can customize the color and the size of the bubbles.

<img src="screenshot.gif" style="width: 155px" />

It supports both the current style animation and the old one (seen in the betas of the Apple Watch simulator).

## Quick Start

To use with your WatchKit extension:

 - add a WKInterfaceImage into your storyboard exactly where you want the activity indicator to appear (WKInterfaceGroup can be used as well);

 - make sure its Mode is set to 'Center' and Width and Height to 'Size To Fit Content';

 - connect the image with a corresponding property of your subclass of WKInterfaceController;

 - import TTWKActivityIndicator.h;

 - create an instance of `TTWKActivityIndicator` within your awakeWithContext: method, for example:

    ```objective-c
        // This will create it with the default style and size
        TTWKActivityIndicator *indicator = [[TTWKActivityIndicator alloc]
            initWithColor:[UIColor colorWithRed:0.9922 green:0.4549 blue:0.0000 alpha:1.0]
        ];
    ```

 - then transfer it into your image using `setToGroupOrImage:` method:

    ```objective-c
    // Assuming self.activityIndicator is an instance of WKInterfaceImage or WKInterfaceGroup
        [indicator setToGroupOrImage:self.activityIndicator];
    ```

 - done!

You can also check out the example project in `./Example/ActivityIndicator.xcodeproj`, header files have plenty of comments as well.

## Installation

TTWKActivityIndicator is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

    pod 'TTWKActivityIndicator'

You can also just drop in `/Pod/Classes/TTWKActivityIndicator.*` into your project (along with `/Pod/Classes/TTWKActivityIndicatorView.*` in case you need it a normal iOS app as well).

## Author & License

TTWKActivityIndicator is created by [TouchTribe B.V.](http://www.touchtribe.nl) and is available under the MIT license. See the LICENSE file for more info.
{'fraction_non_alphanumeric': 0.06748177756877498, 'fraction_numerical': 0.009405125793557489, 'mean_word_length': 4.24537607891492, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6449241', 'n_tokens_mistral': 1192, 'n_tokens_neox': 1117, 'n_words': 511}