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

@protocol AVCustomCaptureDelegate
- (void)getCGImage:(CGImageRef)cgImage;
@end

@interface AVCustomCapture : NSObject <AVCaptureVideoDataOutputSampleBufferDelegate>

- (id)initWithDelegate:(id<AVCustomCaptureDelegate>)delegate;
@property (nonatomic, assign) id<AVCustomCaptureDelegate> delegate;

@property (nonatomic, assign) AVCaptureVideoOrientation videoOrientation;
@property (nonatomic, assign) AVCaptureDevicePosition devicePosition;

- (void)start;
- (void)stop;
- (void)swapCamera;
//- (void)getCGShot:(CGImageRef)cgImage;

@property (nonatomic, retain) AVCaptureSession *session;
@property (nonatomic, assign) AVCaptureConnection *connection;

@end<commit_msg>[ios] Made AVCustomCapture's fps setter public to other classes<commit_after>#import <AVFoundation/AVFoundation.h>

@protocol AVCustomCaptureDelegate
- (void)getCGImage:(CGImageRef)cgImage;
@end

@interface AVCustomCapture : NSObject <AVCaptureVideoDataOutputSampleBufferDelegate>

- (id)initWithDelegate:(id<AVCustomCaptureDelegate>)delegate;
@property (nonatomic, assign) id<AVCustomCaptureDelegate> delegate;

@property (nonatomic, assign) AVCaptureVideoOrientation videoOrientation;
@property (nonatomic, assign) AVCaptureDevicePosition devicePosition;

- (void)setFPS:(int32_t)fps;

- (void)start;
- (void)stop;
- (void)swapCamera;
//- (void)getCGShot:(CGImageRef)cgImage;

@property (nonatomic, retain) AVCaptureSession *session;
@property (nonatomic, assign) AVCaptureConnection *connection;

@end
{'fraction_non_alphanumeric': 0.112565445026178, 'fraction_numerical': 0.0013089005235602095, 'mean_word_length': 9.843971631205674, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3283382', 'n_tokens_mistral': 471, 'n_tokens_neox': 467, 'n_words': 90}