From 4005ca6e89c55bd1766d6927f2fbd437a32c3602 Mon Sep 17 00:00:00 2001 From: Fabio Nuno Date: Sat, 25 Feb 2017 14:16:02 -0300 Subject: [PATCH] Fixes the addSublayer method name in LOTCompositionLayer implementation file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The class LOTCompositionLayer.m implements a method called addSubview:toLayerNamed: but in the interface file it’s defined as addSublayer:toLayerNamed: --- lottie-ios/Classes/AnimatableLayers/LOTCompositionLayer.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lottie-ios/Classes/AnimatableLayers/LOTCompositionLayer.m b/lottie-ios/Classes/AnimatableLayers/LOTCompositionLayer.m index f8d950b45a..ecc905465d 100644 --- a/lottie-ios/Classes/AnimatableLayers/LOTCompositionLayer.m +++ b/lottie-ios/Classes/AnimatableLayers/LOTCompositionLayer.m @@ -125,7 +125,7 @@ } } -- (void)addSubview:(LOTView *)view +- (void)addSublayer:(LOTView *)view toLayerNamed:(NSString *)layer { LOTConstraintType constraint = LOTConstraintTypeAlignToBounds; LOTLayerView *layerObject = _layerNameMap[layer];