Swift - How to animate Images?

I'm trying to animate images in particular time- duration. It is working fine in Objective C. However, it is not working for Swift, where is my mistake? The code for Objective-C is - -(void)viewD...