私はCAPropertyAnimation animationWithKeyPath:パラメータを最もよく説明するものは何ですか?
+ (id)animationWithKeyPath:(NSString *)keyPath
に、このパラメータのより良い理解を持っているしたいと思います彼らは言う:「プロパティのキーパスがアニメ化されるように。」私はのようなものを参照いくつかの例のスニペットで
:
CABasicAnimation *fadeInAnimation = [CABasicAnimation animationWithKeyPath:@"opacity"];
CAKeyframeAnimation *animatedIconAnimation = [CAKeyframeAnimation animationWithKeyPath: @"frameOrigin"];
は正しいキーパスのパラメータを決定するための親指のリストやルールがありますか?つまり、フレームの幅をアニメーション化したい場合、正しいキーパスのパラメータ文字列に到達するためにはどのようなルールを従わなければなりませんか?
アニメーション化可能なすべてのプロパティへのリンクを更新する:https://developer.apple.com/library/ios/#documentation/Cocoa/Conceptual/CoreAnimation_guide/AnimatableProperties/AnimatableProperties.html –