<commit_before>//
//  UIView+FHExtend.h
//  FHCategroyDemo
//
//  Created by xyt on 2017/4/27.
//  Copyright © 2017年 GodL. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (FHExtend)


/**
 *  获取UIImage
 *
 *  @return UIImage
 */
-(UIImage *)getImage;

/**
 *  动画切换效果  push方式
 *
 *  @param direction 动画切换方向 kCATransitionFromRight、kCATransitionFromLeft、kCATransitionFromTop、kCATransitionFromBottom
 */
-(void)switchContentViewWithAnimation:(NSString *)direction;

/**
 *  动画切换效果
 *
 *  @param direction      动画切换方向 kCATransitionFromRight、kCATransitionFromLeft、kCATransitionFromTop、kCATransitionFromBottom
 *  @param transitionType 动画切换方式 kCATransitionFade、kCATransitionMoveIn、kCATransitionPush、kCATransitionReveal
 */
-(void)switchContentViewWithAnimation:(NSString *)direction type:(NSString *)transitionType;

/**
 *  动画切换效果
 *
 *  @param direction      动画切换方向 kCATransitionFromRight、kCATransitionFromLeft、kCATransitionFromTop、kCATransitionFromBottom
 *  @param transitionType 动画切换方式 kCATransitionFade、kCATransitionMoveIn、kCATransitionPush、kCATransitionReveal
 *  @param duration       时长
 */
-(void)switchContentViewWithAnimation:(NSString *)direction type:(NSString *)transitionType duration:(float)duration;

/**
 *  添加点击事件
 *
 *  @param target   目标
 *  @param selector 事件
 */
- (void)addActionWithTarget:(id)target action:(SEL)selector;

/* @property如果写在分类里面就不会生成成员属性,只会生成get,set方法
 *  快速设置控件的frame
 */
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat bottom;
@property (nonatomic,assign)  CGFloat centerX;
@property (nonatomic,assign)  CGFloat centerY;

/**
 *  详细属性
 */
@property (nonatomic, copy) NSDictionary *info_Dict;


@property (nonatomic, copy) NSString *description;

@end

@end<commit_msg>no message<commit_after>//
//  UIView+FHExtend.h
//  FHCategroyDemo
//
//  Created by xyt on 2017/4/27.
//  Copyright © 2017年 GodL. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (FHExtend)


/**
 *  获取UIImage
 *
 *  @return UIImage
 */
-(UIImage *)getImage;

/**
 *  动画切换效果  push方式
 *
 *  @param direction 动画切换方向 kCATransitionFromRight、kCATransitionFromLeft、kCATransitionFromTop、kCATransitionFromBottom
 */
-(void)switchContentViewWithAnimation:(NSString *)direction;

/**
 *  动画切换效果
 *
 *  @param direction      动画切换方向 kCATransitionFromRight、kCATransitionFromLeft、kCATransitionFromTop、kCATransitionFromBottom
 *  @param transitionType 动画切换方式 kCATransitionFade、kCATransitionMoveIn、kCATransitionPush、kCATransitionReveal
 */
-(void)switchContentViewWithAnimation:(NSString *)direction type:(NSString *)transitionType;

/**
 *  动画切换效果
 *
 *  @param direction      动画切换方向 kCATransitionFromRight、kCATransitionFromLeft、kCATransitionFromTop、kCATransitionFromBottom
 *  @param transitionType 动画切换方式 kCATransitionFade、kCATransitionMoveIn、kCATransitionPush、kCATransitionReveal
 *  @param duration       时长
 */
-(void)switchContentViewWithAnimation:(NSString *)direction type:(NSString *)transitionType duration:(float)duration;

/**
 *  添加点击事件
 *
 *  @param target   目标
 *  @param selector 事件
 */
- (void)addActionWithTarget:(id)target action:(SEL)selector;

/* @property如果写在分类里面就不会生成成员属性,只会生成get,set方法
 *  快速设置控件的frame
 */
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat bottom;
@property (nonatomic,assign)  CGFloat centerX;
@property (nonatomic,assign)  CGFloat centerY;

/**
 *  详细属性
 */
@property (nonatomic, copy) NSDictionary *info_Dict;


@property (nonatomic, copy) NSString *description;

@end


{'fraction_non_alphanumeric': 0.11335280063711176, 'fraction_numerical': 0.005840191133528006, 'mean_word_length': 5.5874125874125875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2878749', 'n_tokens_mistral': 1506, 'n_tokens_neox': 1416, 'n_words': 239}