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

    images

    Frames for creating the sequence

    delay

    Time between each frame

    loopCount

    Number of loops built into the sequence, default is 0

    completionHandler

    Completion handler called when the operation finishes with success or failure