import Foundation

/*
 import UIKit

// let img = UIImage(named: "syncArrows.png")

 let rotationAnimation : CABasicAnimation = CABasicAnimation(keyPath: "transform.rotation.z")
 rotationAnimation.toValue = NSNumber(value: .pi * 2.0)
 rotationAnimation.duration = 0.5;
 rotationAnimation.isCumulative = true;
 rotationAnimation.repeatCount = .infinity;
 imgView.layer.add(rotationAnimation, forKey: "rotationAnimation")
 */

/*
let imgView = UIImageView(frame: CGRect(x: 150, y: 150, width: 150, height: 150))



var images = [UIImage]()

images.append(UIImage(named: "syncArrow-0.png")!)
images.append(UIImage(named: "syncArrow-1.png")!)
images.append(UIImage(named: "syncArrow-2.png")!)
images.append(UIImage(named: "syncArrow-3.png")!)
images.append(UIImage(named: "syncArrow-4.png")!)
images.append(UIImage(named: "syncArrow-5.png")!)
images.append(UIImage(named: "syncArrow-6.png")!)
images.append(UIImage(named: "syncArrow-7.png")!)


imgView.animationImages = images
imgView.animationDuration = 10
imgView.animationRepeatCount = 0    // repeats indefinitely


imgView.startAnimating()
*/
