e14b53193f
One step closer to 1.0. Changes include: - Refactor the API - Make image source non-optional - Use submodule for Runes dependency - Add specs - Remove Runes framework dependency
11 lines
256 B
Swift
11 lines
256 B
Swift
/// Keeps a reference to an `UIImage` instance and its duration as a GIF frame.
|
|
struct AnimatedFrame {
|
|
let image: UIImage?
|
|
let duration: NSTimeInterval
|
|
|
|
static func null() -> AnimatedFrame {
|
|
return AnimatedFrame(image: .None, duration: 0)
|
|
}
|
|
}
|
|
|