<commit_before>//
//  CSButton.h
//  CSButton
//
//  Created by <NAME> on 2017/1/3.
//  Copyright © 2017年 joslyn. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, CSButtonImagePositionMode) {
    CSButtonImagePositionModeDefault,           // Image is on left, system default style.
    CSButtonImagePositionModeRight,             // Image is on right.
    CSButtonImagePositionModeTop,               // Image is on top.
    CSButtonImagePositionModeBottom             // Image is on bottom.
};

@interface CSButton : UIButton

/// 图片相对于文字的位置。
/// The position of the ImageView relative to the titleLabel.
@property (nonatomic, assign) CSButtonImagePositionMode cs_buttonImagePositionMode;

/// 图片与文字间的间距。
/// Distance between imageVeiw and titleLabel.
@property (nonatomic, assign) CGFloat cs_middleDistance;

/// 期望图片显示尺寸。
/// Custom size for imageView.
@property (nonatomic, assign) CGSize cs_imageSize;

/// 期望文字的最大宽度。
/// The max width for titleLable.
//@property (nonatomic, assign) CGFloat cs_titleMaxWidth;

/// 是否允许文字换行，默认不允许（单行）。
/// Support multi-line. Default NO.
//@property (nonatomic, assign) BOOL cs_isMultiLines;

@end<commit_msg>remove unused message<commit_after>//
//  CSButton.h
//  CSButton
//
//  Created by <NAME> on 2017/1/3.
//  Copyright © 2017年 joslyn. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, CSButtonImagePositionMode) {
    CSButtonImagePositionModeDefault,           // Image is on left, system default style.
    CSButtonImagePositionModeRight,             // Image is on right.
    CSButtonImagePositionModeTop,               // Image is on top.
    CSButtonImagePositionModeBottom             // Image is on bottom.
};

@interface CSButton : UIButton

/// 图片相对于文字的位置。
/// The position of the ImageView relative to the titleLabel.
@property (nonatomic, assign) CSButtonImagePositionMode cs_buttonImagePositionMode;

/// 图片与文字间的间距。
/// Distance between imageVeiw and titleLabel.
@property (nonatomic, assign) CGFloat cs_middleDistance;

/// 期望图片显示尺寸。
/// Custom size for imageView.
@property (nonatomic, assign) CGSize cs_imageSize;

@end
{'fraction_non_alphanumeric': 0.1053864168618267, 'fraction_numerical': 0.00936768149882904, 'mean_word_length': 3.171875, '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': '5508134', 'n_tokens_mistral': 715, 'n_tokens_neox': 709, 'n_words': 188}