<commit_before>//
//  CDVCommandDelegateImpl.h
//  CRTFileTransfer
//
//  Created by fangyunjiang on 15/11/17.
//  Copyright (c) 2015年 remobile. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RCTBridgeModule.h"
#import "CDVPluginResult.h"

@interface CDVCommandDelegateImpl : NSObject

- (id)initWithCallback:(RCTResponseSenderBlock)successFunc error:(RCTResponseSenderBlock)errorFunc;
- (void)sendPluginResult:(CDVPluginResult*)result;
- (void)runInBackground:(void (^)())block;
+ (UIViewController *)getTopPresentedViewController;

@end
<commit_msg>add IsAtLeastiOSVersion<commit_after>//
//  CDVCommandDelegateImpl.h
//  CRTFileTransfer
//
//  Created by fangyunjiang on 15/11/17.
//  Copyright (c) 2015年 remobile. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RCTBridgeModule.h"
#import "CDVPluginResult.h"

@interface CDVCommandDelegateImpl : NSObject

#define IsAtLeastiOSVersion(X) ([[[UIDevice currentDevice] systemVersion] compare:X options:NSNumericSearch] != NSOrderedAscending)

- (id)initWithCallback:(RCTResponseSenderBlock)successFunc error:(RCTResponseSenderBlock)errorFunc;
- (void)sendPluginResult:(CDVPluginResult*)result;
- (void)runInBackground:(void (^)())block;
+ (UIViewController *)getTopPresentedViewController;

@end

{'fraction_non_alphanumeric': 0.13180741910023677, 'fraction_numerical': 0.01578531965272297, 'mean_word_length': 6.5476190476190474, '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': '2124811', 'n_tokens_mistral': 460, 'n_tokens_neox': 419, 'n_words': 73}