diff --git a/Source/Classes/GIFAnimatable.swift b/Source/Classes/GIFAnimatable.swift index e8e53e1..cdf634e 100644 --- a/Source/Classes/GIFAnimatable.swift +++ b/Source/Classes/GIFAnimatable.swift @@ -14,6 +14,9 @@ public protocol GIFAnimatable: class { /// Content mode used for resizing the frames. var contentMode: UIView.ContentMode { get set } + + + var playbackSpeed: Double? { get set } } diff --git a/Source/Classes/GIFImageView.swift b/Source/Classes/GIFImageView.swift index 650d7f3..f781b6c 100644 --- a/Source/Classes/GIFImageView.swift +++ b/Source/Classes/GIFImageView.swift @@ -1,6 +1,8 @@ import UIKit /// Example class that conforms to `GIFAnimatable`. Uses default values for the animator frame buffer count and resize behavior. You can either use it directly in your code or use it as a blueprint for your own subclass. public class GIFImageView: UIImageView, GIFAnimatable { + public var playbackSpeed: Double? + /// A lazy animator. public lazy var animator: Animator? = { diff --git a/Supporting Files/Info.plist b/Supporting Files/Info.plist index c36f8c4..0a5e18d 100644 --- a/Supporting Files/Info.plist +++ b/Supporting Files/Info.plist @@ -19,7 +19,7 @@ CFBundleSignature ???? CFBundleVersion - 153 + 154 NSPrincipalClass