Nuke Gifu Plugin 3.0

A primary focus of this release is to update the project to Swift 4.1. Requires a few small migrations steps. See the list of changes for more info:

Updated to Swift 4.1

Removed AnimatedImage class which was UIImage subclass and caused all sorts of problems while upgrading to new Swift versions.


Removed:

public class AnimatedImage: UIImage {
    public let data: Data
    public init(data: Data, poster: CGImage)
}

Added (please use instead):

extension UIImage {
    // Animated image data. Only not `nil` when image data actually contains
    // an animated image.
    public var animatedImageData: Data? { get set }
}

Removed:

extension AnimatedImage {
    /// Default `Nuke.Manager` with animated GIF support.
    public let manager: Nuke.Manager { get }
}

Added (please use instead):

extension Nuke.Manager {
    /// Default `Nuke.Manager` with animated GIF support.
    public let animatedImageManager: Nuke.Manager { get }
}

Other Changes

Nuke Gifu Plugin 2.0

Nuke Gifu Plugin 1.0

Nuke Gifu Plugin 0.2

Nuke Gifu Plugin 0.1