<commit_before>//
//  THCircularProgressBar.h
//
//  Created by <NAME> on 3/4/13.
//  Copyright (c) 2013 <NAME>. All rights reserved.
//

#import <UIKit/UIKit.h>

#pragma mark - Enums

typedef enum
{
    THProgressBackgroundModeNone,
    THProgressBackgroundModeCircle,
    THProgressBackgroundModeCircumference
} THProgressBackgroundMode;

typedef enum
{
    THProgressModeFill,
    THProgressModeDeplete
} THProgressMode;

#pragma mark - Interface

@interface THCircularProgressView : UIView

@property (nonatomic) CGFloat lineWidth;
@property (nonatomic) CGFloat percentage;
@property (nonatomic, strong) UILabel *centerLabel;
@property (nonatomic, strong) UIColor *progressColor;
@property (nonatomic, strong) UIColor *progressBackgroundColor;
@property THProgressMode progressMode;
@property THProgressBackgroundMode progressBackgroundMode;
@property (nonatomic) BOOL centerLabelVisible;

- (id)initWithCenter:(CGPoint)center
              radius:(CGFloat)radius
           lineWidth:(CGFloat)lineWidth
        progressMode:(THProgressMode)progressMode
       progressColor:(UIColor *)progressColor
progressBackgroundMode:(THProgressBackgroundMode)backgroundMode
progressBackgroundColor:(UIColor *)progressBackgroundColor
          percentage:(CGFloat)percentage;

@end<commit_msg>add NS_ENUM, add missing nonatomic<commit_after>//
//  THCircularProgressBar.h
//
//  Created by <NAME> on 3/4/13.
//  Copyright (c) 2013 <NAME>. All rights reserved.
//

#import <UIKit/UIKit.h>

#pragma mark - Enums

typedef NS_ENUM(NSUInteger, THProgressBackgroundMode) {
    THProgressBackgroundModeNone,
    THProgressBackgroundModeCircle,
    THProgressBackgroundModeCircumference
};

typedef NS_ENUM(NSUInteger, THProgressMode) {
    THProgressModeFill,
    THProgressModeDeplete
};

#pragma mark - Interface

@interface THCircularProgressView : UIView

@property (nonatomic) CGFloat lineWidth;
@property (nonatomic) CGFloat percentage;
@property (nonatomic, strong) UILabel *centerLabel;
@property (nonatomic, strong) UIColor *progressColor;
@property (nonatomic, strong) UIColor *progressBackgroundColor;
@property (nonatomic) BOOL centerLabelVisible;
@property (nonatomic) THProgressMode progressMode;
@property (nonatomic) THProgressBackgroundMode progressBackgroundMode;

- (id)initWithCenter:(CGPoint)center
              radius:(CGFloat)radius
           lineWidth:(CGFloat)lineWidth
        progressMode:(THProgressMode)progressMode
       progressColor:(UIColor *)progressColor
progressBackgroundMode:(THProgressBackgroundMode)backgroundMode
progressBackgroundColor:(UIColor *)progressBackgroundColor
          percentage:(CGFloat)percentage;

@end
{'fraction_non_alphanumeric': 0.08871272178180445, 'fraction_numerical': 0.00604001510003775, 'mean_word_length': 5.6084788029925186, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '245872', 'n_tokens_mistral': 777, 'n_tokens_neox': 735, 'n_words': 165}