NextLevelGIFCreator
public class NextLevelGIFCreator
Undocumented
-
Output directory where the GIF is created, default is tmp
Declaration
Swift
public var outputDirectory: String
-
Undocumented
Declaration
Swift
public init()
-
Creates an animated GIF from a sequence of images.
Declaration
Swift
public func create(gifWithImages images: [UIImage], delay: Float, loopCount: Int = 0, completionHandler: ((_ completed: Bool, _ gifPath: URL?) -> Void)? = nil)Parameters
imagesFrames for creating the sequence
delayTime between each frame
loopCountNumber of loops built into the sequence, default is 0
completionHandlerCompletion handler called when the operation finishes with success or failure
View on GitHub
NextLevelGIFCreator Class Reference