Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@laevandus
Last active August 31, 2019 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laevandus/a36000325d15050a45f0211383e1cae0 to your computer and use it in GitHub Desktop.
Save laevandus/a36000325d15050a45f0211383e1cae0 to your computer and use it in GitHub Desktop.
#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