Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#import <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface ImageFrameScheduler: NSObject
- (instancetype)initWithURL:(NSURL *)imageURL;
@property (readonly) NSURL *imageURL;
- (BOOL)startWithFrameHandler:(void (^)(NSInteger, CGImageRef))handler;
- (void)stop;
@end
NS_ASSUME_NONNULL_END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment