mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-23 04:28:53 +00:00
Update README.md
This commit is contained in:
@@ -289,6 +289,12 @@ animationView2.setValue(UIColor.green, forKeypath: "BG-On.Group 1.Fill 1.Color",
|
||||
animationView3.setValue(UIColor.red, forKeypath: "BG-On.Group 1.Fill 1.Color", atFrame: 0)
|
||||
animationView4.setValue(UIColor.orange, forKeypath: "BG-On.Group 1.Fill 1.Color", atFrame: 0)
|
||||
```
|
||||
|
||||
```objective-c
|
||||
[animationView2 setValue:[UIColor greenColor]
|
||||
forKeypath:@"BG-On.Group 1.Fill 1.Color"
|
||||
atFrame:@0];
|
||||
```
|
||||
The keyPath is a dot separated path of layer and property names from After Effects.
|
||||
LOTAnimationView provides `- (void)logHierarchyKeypaths` which will recursively log all settable keypaths for the animation.
|
||||

|
||||
|
||||
Reference in New Issue
Block a user