Update animation API
This commit is contained in:
parent
565a4e03ac
commit
b75ae099d1
|
@ -28,11 +28,11 @@ extension UIImageView {
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Setter Functions
|
// MARK: - Setter Functions
|
||||||
func setAnimatedImage(named name: String) {
|
func setAnimatableImage(named name: String) {
|
||||||
image = AnimatedImage.imageWithName(name, delegate: self)
|
image = AnimatedImage.imageWithName(name, delegate: self)
|
||||||
}
|
}
|
||||||
|
|
||||||
func setAnimatedImage(#data: NSData) {
|
func setAnimatableImage(#data: NSData) {
|
||||||
image = AnimatedImage.imageWithData(data, delegate: self)
|
image = AnimatedImage.imageWithData(data, delegate: self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue