2015-01-23 00:02:08 +00:00
|
|
|
/// Keeps a reference to an `UIImage` instance and its duration as a GIF frame.
|
2014-12-12 20:29:17 +00:00
|
|
|
struct AnimatedFrame {
|
|
|
|
let image: UIImage?
|
|
|
|
let duration: NSTimeInterval
|
2015-06-09 21:28:11 +00:00
|
|
|
|
|
|
|
static func null() -> AnimatedFrame {
|
|
|
|
return AnimatedFrame(image: .None, duration: 0)
|
|
|
|
}
|
2014-12-12 20:29:17 +00:00
|
|
|
}
|
2015-06-09 21:28:11 +00:00
|
|
|
|