Update animation API

This commit is contained in:
Reda Lemeden 2014-09-07 22:35:11 +02:00
parent 565a4e03ac
commit b75ae099d1
1 changed files with 2 additions and 2 deletions

View File

@ -28,11 +28,11 @@ extension UIImageView {
}
// MARK: - Setter Functions
func setAnimatedImage(named name: String) {
func setAnimatableImage(named name: String) {
image = AnimatedImage.imageWithName(name, delegate: self)
}
func setAnimatedImage(#data: NSData) {
func setAnimatableImage(#data: NSData) {
image = AnimatedImage.imageWithData(data, delegate: self)
}