Skip to content

Commit

Permalink
Initial updates to Gifu fork.
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonParks committed Feb 26, 2019
1 parent ef1da74 commit 73a7e98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Source/Classes/GIFAnimatable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
}


Expand Down
2 changes: 2 additions & 0 deletions Source/Classes/GIFImageView.swift
Original file line number Diff line number Diff line change
@@ -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? = {
Expand Down
2 changes: 1 addition & 1 deletion Supporting Files/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>153</string>
<string>154</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down

0 comments on commit 73a7e98

Please sign in to comment.