diff --git a/README.md b/README.md index badbcde371..daf42866d7 100644 --- a/README.md +++ b/README.md @@ -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. ![Key Path](_Gifs/aftereffectskeypath.png)