Update to iOS 9.3 #selector() syntax.
This commit is contained in:
parent
a98a6b52fe
commit
a2cd471e52
|
@ -5,7 +5,7 @@ public class AnimatableImageView: UIImageView {
|
||||||
/// An `Animator` instance that holds the frames of a specific image in memory.
|
/// An `Animator` instance that holds the frames of a specific image in memory.
|
||||||
var animator: Animator?
|
var animator: Animator?
|
||||||
/// A display link that keeps calling the `updateFrame` method on every screen refresh.
|
/// A display link that keeps calling the `updateFrame` method on every screen refresh.
|
||||||
lazy var displayLink: CADisplayLink = CADisplayLink(target: self, selector: Selector("updateFrame"))
|
lazy var displayLink: CADisplayLink = CADisplayLink(target: self, selector: #selector(updateFrame))
|
||||||
|
|
||||||
/// The size of the frame cache.
|
/// The size of the frame cache.
|
||||||
public var framePreloadCount = 50
|
public var framePreloadCount = 50
|
||||||
|
|
Loading…
Reference in New Issue