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

@interface JFImageSavePanel : NSObject
{
}

@property (retain,nonatomic) NSString           *title;
@property (assign,nonatomic) const CFStringRef  imageType;

+ (JFImageSavePanel *)savePanel;

- (NSInteger)runModalForImage:(NSImage *)image error:(NSError **)error;

@end<commit_msg>Added another alternate way using block to run the save panel modal (.h)<commit_after>#import <Foundation/Foundation.h>

@interface JFImageSavePanel : NSObject
{
}

@property (retain,nonatomic) NSString           *title;
@property (assign,nonatomic) const CFStringRef  imageType;

+ (JFImageSavePanel *)savePanel;

- (NSInteger)runModalForImage:(NSImage *)image error:(NSError **)error;
- (void)beginWithImage:(NSImage *)image completionHandler:(void (^)(NSInteger result))block;

@end
{'fraction_non_alphanumeric': 0.12591687041564792, 'fraction_numerical': 0.0, 'mean_word_length': 6.513761467889908, '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': '801993', 'n_tokens_mistral': 268, 'n_tokens_neox': 251, 'n_words': 58}