LOTValueInterpolator.h 706 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // LOTValueInterpolator.h
  3. // Pods
  4. //
  5. // Created by brandon_withrow on 7/10/17.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "LOTKeyframe.h"
  10. #import "LOTValueDelegate.h"
  11. NS_ASSUME_NONNULL_BEGIN
  12. @interface LOTValueInterpolator : NSObject
  13. - (instancetype)initWithKeyframes:(NSArray <LOTKeyframe *> *)keyframes;
  14. @property (nonatomic, weak, nullable) LOTKeyframe *leadingKeyframe;
  15. @property (nonatomic, weak, nullable) LOTKeyframe *trailingKeyframe;
  16. @property (nonatomic, readonly) BOOL hasDelegateOverride;
  17. - (void)setValueDelegate:(id<LOTValueDelegate> _Nonnull)delegate;
  18. - (BOOL)hasUpdateForFrame:(NSNumber *)frame;
  19. - (CGFloat)progressForFrame:(NSNumber *)frame;
  20. @end
  21. NS_ASSUME_NONNULL_END