ASImageNode(AnimatedImage) Category Reference
Declared in | ASImageNode.h |
---|
animatedImage
The animated image to playback
@property (nullable, nonatomic, strong) id<ASAnimatedImageProtocol> animatedImage
Discussion
Set this to an object which conforms to ASAnimatedImageProtocol to have the ASImageNode playback an animated image.
Declared In
ASImageNode.h
animatedImagePaused
Pause the playback of an animated image.
@property (nonatomic, assign) BOOL animatedImagePaused
Discussion
Set to YES to pause playback of an animated image and NO to resume playback.
Declared In
ASImageNode.h
animatedImageRunLoopMode
The runloop mode used to animate the image.
@property (nonatomic, strong) NSString *animatedImageRunLoopMode
Discussion
Defaults to NSRunLoopCommonModes. Another commonly used mode is NSDefaultRunLoopMode. Setting NSDefaultRunLoopMode will cause animation to pause while scrolling (if the ASImageNode is in a scroll view), which may improve scroll performance in some use cases.
Declared In
ASImageNode.h