In CABasicAnimation.fromValue I want to convert a CGPoint to a \"class\" so I used NSValue valueWithPoint but in device m
CABasicAnimation.fromValue
CGPoint
NSValue
valueWithPoint
In Swift the static method is change to an initialiser method:
var pointValue = CGPointMake(10,10) NSValue(CGPoint: pointValue)