Update to iOS 9.3 #selector() syntax.

This commit is contained in:
Shantanu Desai 2016-03-31 00:36:55 +05:30 committed by Reda Lemeden
parent a98a6b52fe
commit a2cd471e52
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ public class AnimatableImageView: UIImageView {
/// An `Animator` instance that holds the frames of a specific image in memory.
var animator: Animator?
/// 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.
public var framePreloadCount = 50