मैंक्या सबसे अच्छा बताता है CAProperty एनीमेशन एनीमेशन WithKeyPath: पैरामीटर?
+ (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 –