<commit_before>//
//  PSImagePicker.h
//  PSImagePickerExample
//
//  Created by Pan on 15/12/26.
//  Copyright © 2015年 <NAME>. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@protocol PSImagePickerDelegate <NSObject>

/**
 *  选取好照片了
 *
 *  @param image 选择好的照片
 */
- (void)didFinishPickingImage:(UIImage *)image;

@end

@interface PSImagePicker : NSObject

@property (weak, nonatomic) id<PSImagePickerDelegate> delegate;

- (instancetype)initWithViewController:(UIViewController *)viewController NS_DESIGNATED_INITIALIZER;

/**
 *  弹出选择菜单，目前只支持 拍照 / 相册
 */
- (void)showOptions;

@end
<commit_msg>Swift 3 Compatible<commit_after>//
//  PSImagePicker.h
//  PSImagePickerExample
//
//  Created by Pan on 15/12/26.
//  Copyright © 2015年 <NAME>. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@protocol PSImagePickerDelegate <NSObject>

NS_ASSUME_NONNULL_BEGIN

/**
 *  选取好照片了
 *
 *  @param image 选择好的照片
 */
- (void)didFinishPickingImage:(UIImage *)image;

@end

@interface PSImagePicker : NSObject

@property (weak, nonatomic, nullable) id<PSImagePickerDelegate> delegate;

- (instancetype)initWithViewController:(UIViewController *)viewController NS_DESIGNATED_INITIALIZER;

/**
 *  弹出选择菜单，目前只支持 拍照 / 相册
 */
- (void)showOptions;

NS_ASSUME_NONNULL_END

@end

{'fraction_non_alphanumeric': 0.13167795334838225, 'fraction_numerical': 0.01580135440180587, 'mean_word_length': 4.450819672131147, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '2134947', 'n_tokens_mistral': 535, 'n_tokens_neox': 532, 'n_words': 95}