<commit_before>//
//  MCActivityButton.h
//  Pods
//
//  Created by <NAME> on 4/24/15.
//
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, MCActivityButtonStyle) {
    MCActivityButtonStyleDefault,
    MCActivityButtonStyleRounded
};

typedef NS_ENUM(NSInteger, MCActivityButtonAnimationStyle) {
    MCActivityButtonAnimationStyleLeft,
    MCActivityButtonAnimationStyleRight
};

@interface MCActivityButton : UIButton

@property (nonatomic, readwrite) MCActivityButtonStyle style;

@property (nonatomic, readwrite) MCActivityButtonAnimationStyle animationStyle;

@property (nonatomic, readwrite) CGRect buttonFrame;

@property (nonatomic, readwrite) CGFloat cornerRadius UI_APPEARANCE_SELECTOR;

@property (nonatomic, strong) UIColor *buttonColor UI_APPEARANCE_SELECTOR;

@property (nonatomic, strong) NSString *buttonTitle;

@property (nonatomic, strong) NSString *buttonActionTitle;

@property (nonatomic) BOOL isAnimating;

@property (nonatomic, strong) UIActivityIndicatorView *activityIndicator;

#pragma instancetypes

- (instancetype)initWithFrame:(CGRect)frame;

- (instancetype)initWithFrame:(CGRect)frame buttonStyle:(MCActivityButtonStyle)style;

#pragma mark Setters

- (void)setButtonColor:(UIColor *)buttonColor;
<commit_msg>feat(mcactivitybutton): add properties to customize activity indicator margin and color<commit_after>//
//  MCActivityButton.h
//  Pods
//
//  Created by <NAME> on 4/24/15.
//
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, MCActivityButtonStyle) {
    MCActivityButtonStyleDefault,
    MCActivityButtonStyleAnimatedCircle,
    MCActivityButtonStyleAnimatedMessage
};

typedef NS_ENUM(NSInteger, MCActivityButtonAnimationStyle) {
    MCActivityButtonAnimationStyleLeft,
    MCActivityButtonAnimationStyleRight
};

@interface MCActivityButton : UIButton

@property (nonatomic, readwrite) MCActivityButtonStyle style;

@property (nonatomic, readwrite) MCActivityButtonAnimationStyle animationStyle;

@property (nonatomic, readwrite) CGRect buttonFrame;

@property (nonatomic, readwrite) CGFloat cornerRadius UI_APPEARANCE_SELECTOR;

@property (nonatomic, readwrite) CGFloat activityIndicatorMargin;

@property (nonatomic, strong) UIColor *buttonColor UI_APPEARANCE_SELECTOR;

@property (nonatomic, strong) UIColor *activityIndicatorColor UI_APPEARANCE_SELECTOR;

@property (nonatomic, strong) NSString *buttonTitle;

@property (nonatomic, strong) NSString *buttonActionTitle;

@property (nonatomic) BOOL isAnimating;

@property (nonatomic, strong) UIActivityIndicatorView *activityIndicator;

#pragma instancetypes

- (instancetype)initWithFrame:(CGRect)frame;

- (instancetype)initWithFrame:(CGRect)frame buttonStyle:(MCActivityButtonStyle)style;

#pragma mark Setters

- (void)setButtonColor:(UIColor *)buttonColor;

{'fraction_non_alphanumeric': 0.09130277878022375, 'fraction_numerical': 0.003608805485384338, 'mean_word_length': 7.299401197604791, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5500109', 'n_tokens_mistral': 858, 'n_tokens_neox': 856, 'n_words': 179}