Use type inference where possible
This commit is contained in:
parent
b306f6712f
commit
3092dc4795
|
@ -14,7 +14,7 @@ class AnimatedImage: UIImage {
|
||||||
|
|
||||||
// MARK: - Private Properties
|
// MARK: - Private Properties
|
||||||
private lazy var displayLink: CADisplayLink = CADisplayLink(target: self, selector: "updateCurrentFrame")
|
private lazy var displayLink: CADisplayLink = CADisplayLink(target: self, selector: "updateCurrentFrame")
|
||||||
private lazy var preloadFrameQueue: dispatch_queue_t = dispatch_queue_create("co.kaishin.GIFPreloadImages", DISPATCH_QUEUE_SERIAL)
|
private lazy var preloadFrameQueue = dispatch_queue_create("co.kaishin.GIFPreloadImages", DISPATCH_QUEUE_SERIAL)
|
||||||
private var currentFrameIndex = 0
|
private var currentFrameIndex = 0
|
||||||
private var imageSource: CGImageSource?
|
private var imageSource: CGImageSource?
|
||||||
private var timeSinceLastFrameChange: NSTimeInterval = 0.0
|
private var timeSinceLastFrameChange: NSTimeInterval = 0.0
|
||||||
|
|
Loading…
Reference in New Issue