//apple_ref/occ/cl/PINAnimatedImage

PINAnimatedImage is a class which decodes GIFs to memory mapped files on disk. Like PINRemoteImageManager, it will only decode a GIF one time, regardless of the number of the number of PINAnimatedImages created with the same NSData.

PINAnimatedImage.h

//apple_ref/occ/instm/PINAnimatedImage/setInfoCompletion:

A block to be called on when GIF info has been processed. Status will == PINAnimatedImageStatusInfoProcessed

PINAnimatedImage.h @property (nonatomic, strong, readwrite) PINAnimatedImageInfoReady infoCompletion //api/name/infoCompletion

//apple_ref/occ/instm/PINAnimatedImage/infoCompletion

A block to be called on when GIF info has been processed. Status will == PINAnimatedImageStatusInfoProcessed

PINAnimatedImage.h @property (nonatomic, strong, readwrite) PINAnimatedImageInfoReady infoCompletion //api/name/infoCompletion

//apple_ref/occ/instp/PINAnimatedImage/infoCompletion

A block to be called on when GIF info has been processed. Status will == PINAnimatedImageStatusInfoProcessed

PINAnimatedImage.h @property (nonatomic, strong, readwrite) PINAnimatedImageInfoReady infoCompletion //api/name/infoCompletion

//apple_ref/occ/instm/PINAnimatedImage/setFileReady:

A block to be called whenever a new file is done being processed. You can start (or resume) playback when you get this callback, though it's possible for playback to catch up to the decoding and you'll need to pause.

PINAnimatedImage.h @property (nonatomic, strong, readwrite) dispatch_block_t fileReady //api/name/fileReady

//apple_ref/occ/instm/PINAnimatedImage/fileReady

A block to be called whenever a new file is done being processed. You can start (or resume) playback when you get this callback, though it's possible for playback to catch up to the decoding and you'll need to pause.

PINAnimatedImage.h @property (nonatomic, strong, readwrite) dispatch_block_t fileReady //api/name/fileReady

//apple_ref/occ/instp/PINAnimatedImage/fileReady

A block to be called whenever a new file is done being processed. You can start (or resume) playback when you get this callback, though it's possible for playback to catch up to the decoding and you'll need to pause.

PINAnimatedImage.h @property (nonatomic, strong, readwrite) dispatch_block_t fileReady //api/name/fileReady

//apple_ref/occ/instm/PINAnimatedImage/setAnimatedImageReady:

A block to be called when the animated image is fully decoded and written to disk.

PINAnimatedImage.h @property (nonatomic, strong, readwrite) dispatch_block_t animatedImageReady //api/name/animatedImageReady

//apple_ref/occ/instm/PINAnimatedImage/animatedImageReady

A block to be called when the animated image is fully decoded and written to disk.

PINAnimatedImage.h @property (nonatomic, strong, readwrite) dispatch_block_t animatedImageReady //api/name/animatedImageReady

//apple_ref/occ/instp/PINAnimatedImage/animatedImageReady

A block to be called when the animated image is fully decoded and written to disk.

PINAnimatedImage.h @property (nonatomic, strong, readwrite) dispatch_block_t animatedImageReady //api/name/animatedImageReady

//apple_ref/occ/instm/PINAnimatedImage/setStatus:

The current status of the animated image.

PINAnimatedImage.h @property (nonatomic, assign, readwrite) PINAnimatedImageStatus status //api/name/status

//apple_ref/occ/instm/PINAnimatedImage/status

The current status of the animated image.

PINAnimatedImage.h @property (nonatomic, assign, readwrite) PINAnimatedImageStatus status //api/name/status

//apple_ref/occ/instp/PINAnimatedImage/status

The current status of the animated image.

PINAnimatedImage.h @property (nonatomic, assign, readwrite) PINAnimatedImageStatus status //api/name/status

//apple_ref/occ/instm/PINAnimatedImage/setCoverImageReady:

A helper function which references status to check if the coverImage is ready.

PINAnimatedImage.h @property (nonatomic, readonly) BOOL coverImageReady //api/name/coverImageReady

//apple_ref/occ/instm/PINAnimatedImage/coverImageReady

A helper function which references status to check if the coverImage is ready.

PINAnimatedImage.h @property (nonatomic, readonly) BOOL coverImageReady //api/name/coverImageReady

//apple_ref/occ/instp/PINAnimatedImage/coverImageReady

A helper function which references status to check if the coverImage is ready.

PINAnimatedImage.h @property (nonatomic, readonly) BOOL coverImageReady //api/name/coverImageReady

//apple_ref/occ/instm/PINAnimatedImage/setPlaybackReady:

A helper function which references status to check if playback is ready.

PINAnimatedImage.h @property (nonatomic, readonly) BOOL playbackReady //api/name/playbackReady

//apple_ref/occ/instm/PINAnimatedImage/playbackReady

A helper function which references status to check if playback is ready.

PINAnimatedImage.h @property (nonatomic, readonly) BOOL playbackReady //api/name/playbackReady

//apple_ref/occ/instp/PINAnimatedImage/playbackReady

A helper function which references status to check if playback is ready.

PINAnimatedImage.h @property (nonatomic, readonly) BOOL playbackReady //api/name/playbackReady

//apple_ref/occ/instm/PINAnimatedImage/setCoverImage:

The first frame / cover image of the animated image.

PINAnimatedImage.h @property (nonatomic, readonly) PINImage *coverImage //api/name/coverImage

//apple_ref/occ/instm/PINAnimatedImage/coverImage

The first frame / cover image of the animated image.

PINAnimatedImage.h @property (nonatomic, readonly) PINImage *coverImage //api/name/coverImage

//apple_ref/occ/instp/PINAnimatedImage/coverImage

The first frame / cover image of the animated image.

PINAnimatedImage.h @property (nonatomic, readonly) PINImage *coverImage //api/name/coverImage

//apple_ref/occ/instm/PINAnimatedImage/setTotalDuration:

The total duration of one loop of playback.

PINAnimatedImage.h @property (nonatomic, readonly) CFTimeInterval totalDuration //api/name/totalDuration

//apple_ref/occ/instm/PINAnimatedImage/totalDuration

The total duration of one loop of playback.

PINAnimatedImage.h @property (nonatomic, readonly) CFTimeInterval totalDuration //api/name/totalDuration

//apple_ref/occ/instp/PINAnimatedImage/totalDuration

The total duration of one loop of playback.

PINAnimatedImage.h @property (nonatomic, readonly) CFTimeInterval totalDuration //api/name/totalDuration

//apple_ref/occ/instm/PINAnimatedImage/setFrameInterval:

The number of frames to play per second * display refresh rate (defined as 60 which appears to be true on iOS). You probably want to set this value on a displayLink.

PINAnimatedImage.h @property (nonatomic, readonly) NSUInteger frameInterval //api/name/frameInterval

//apple_ref/occ/instm/PINAnimatedImage/frameInterval

The number of frames to play per second * display refresh rate (defined as 60 which appears to be true on iOS). You probably want to set this value on a displayLink.

PINAnimatedImage.h @property (nonatomic, readonly) NSUInteger frameInterval //api/name/frameInterval

//apple_ref/occ/instp/PINAnimatedImage/frameInterval

The number of frames to play per second * display refresh rate (defined as 60 which appears to be true on iOS). You probably want to set this value on a displayLink.

PINAnimatedImage.h @property (nonatomic, readonly) NSUInteger frameInterval //api/name/frameInterval

//apple_ref/occ/instm/PINAnimatedImage/setLoopCount:

The number of times to loop the animated image. Returns 0 if looping should occur infinitely.

PINAnimatedImage.h @property (nonatomic, readonly) size_t loopCount //api/name/loopCount

//apple_ref/occ/instm/PINAnimatedImage/loopCount

The number of times to loop the animated image. Returns 0 if looping should occur infinitely.

PINAnimatedImage.h @property (nonatomic, readonly) size_t loopCount //api/name/loopCount

//apple_ref/occ/instp/PINAnimatedImage/loopCount

The number of times to loop the animated image. Returns 0 if looping should occur infinitely.

PINAnimatedImage.h @property (nonatomic, readonly) size_t loopCount //api/name/loopCount

//apple_ref/occ/instm/PINAnimatedImage/setFrameCount:

The total number of frames in the animated image.

PINAnimatedImage.h @property (nonatomic, readonly) size_t frameCount //api/name/frameCount

//apple_ref/occ/instm/PINAnimatedImage/frameCount

The total number of frames in the animated image.

PINAnimatedImage.h @property (nonatomic, readonly) size_t frameCount //api/name/frameCount

//apple_ref/occ/instp/PINAnimatedImage/frameCount

The total number of frames in the animated image.

PINAnimatedImage.h @property (nonatomic, readonly) size_t frameCount //api/name/frameCount

//apple_ref/occ/instm/PINAnimatedImage/imageAtIndex:

The image at the frame index passed in.

PINAnimatedImage.h - (CGImageRef)imageAtIndex:(NSUInteger)index `index

The index of the frame to retrieve.

` //api/name/imageAtIndex:

//apple_ref/occ/instm/PINAnimatedImage/durationAtIndex:

The duration of the frame of the passed in index.

PINAnimatedImage.h - (CFTimeInterval)durationAtIndex:(NSUInteger)index `index

The index of the frame to retrieve the duration it should be shown for.

` //api/name/durationAtIndex:

//apple_ref/occ/instm/PINAnimatedImage/clearAnimatedImageCache

Clears out the strong references to any memory maps that are being held.

PINAnimatedImage.h - (void)clearAnimatedImageCache //api/name/clearAnimatedImageCache