我正在尝试使用FacebookpopPOPSpringAnimation为UIButton的边界设置动画,但我找不到我应该在swift中使用什么来替换NSValue.valueWithCGRect这就是我想要做的:@IBActionfuncbuttonTapped(sender:UIButton){varspringAnimation=POPSpringAnimation()springAnimation.property=POPAnimatableProperty.propertyWithName(kPOPLayerBounds)asPOPAnimatablePropertyspri
我正在尝试使用FacebookpopPOPSpringAnimation为UIButton的边界设置动画,但我找不到我应该在swift中使用什么来替换NSValue.valueWithCGRect这就是我想要做的:@IBActionfuncbuttonTapped(sender:UIButton){varspringAnimation=POPSpringAnimation()springAnimation.property=POPAnimatableProperty.propertyWithName(kPOPLayerBounds)asPOPAnimatablePropertyspri