lottie-ios 3.2.2 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/actions/setup/action.yml +32 -0
- package/.github/issue_template.md +6 -23
- package/.github/workflows/main.yml +98 -0
- package/.spi.yml +6 -0
- package/.swift-version +1 -0
- package/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +7 -0
- package/.swiftpm/xcode/package.xcworkspace/xcuserdata/cal.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/.swiftpm/xcode/xcuserdata/{brandonwithrow.xcuserdatad → cal.xcuserdatad}/xcschemes/xcschememanagement.plist +25 -15
- package/.swiftpm/xcode/xcuserdata/calstephens.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/Gemfile +4 -0
- package/Gemfile.lock +102 -0
- package/Lottie.xcodeproj/project.pbxproj +2003 -1972
- package/Lottie.xcodeproj/project.xcworkspace/contents.xcworkspacedata +1 -1
- package/Lottie.xcodeproj/project.xcworkspace/xcuserdata/cal.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/Lottie.xcodeproj/xcshareddata/xcschemes/{Lottie_iOS.xcscheme → Lottie (iOS).xcscheme } +15 -18
- package/Lottie.xcodeproj/xcshareddata/xcschemes/{Lottie_macOS.xcscheme → Lottie (macOS).xcscheme } +7 -20
- package/Lottie.xcodeproj/xcshareddata/xcschemes/{Lottie_tvOS.xcscheme → Lottie (tvOS).xcscheme } +5 -18
- package/Lottie.xcodeproj/xcuserdata/cal.xcuserdatad/xcschemes/xcschememanagement.plist +37 -0
- package/Lottie.xcodeproj/xcuserdata/calstephens.xcuserdatad/xcschemes/xcschememanagement.plist +24 -0
- package/Lottie.xcworkspace/contents.xcworkspacedata +10 -0
- package/Lottie.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/Lottie.xcworkspace/xcshareddata/swiftpm/Package.resolved +115 -0
- package/Lottie.xcworkspace/xcuserdata/cal.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/{Lottie.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad → Lottie.xcworkspace/xcuserdata/cal.xcuserdatad}/xcdebugger/Breakpoints_v2.xcbkptlist +2 -2
- package/Lottie.xcworkspace/xcuserdata/cal.xcuserdatad/xcdebugger/Expressions.xcexplist +153 -0
- package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +39 -0
- package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/xcdebugger/Expressions.xcexplist +25 -0
- package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/xcschemes/xcschememanagement.plist +30 -0
- package/Package.resolved +88 -0
- package/Package.swift +10 -15
- package/README.md +40 -60
- package/Rakefile +121 -0
- package/Sources/Private/CoreAnimation/Animations/CAAnimation+TimingConfiguration.swift +81 -0
- package/Sources/Private/CoreAnimation/Animations/CALayer+addAnimation.swift +448 -0
- package/Sources/Private/CoreAnimation/Animations/CombinedShapeAnimation.swift +53 -0
- package/Sources/Private/CoreAnimation/Animations/CustomPathAnimation.swift +41 -0
- package/Sources/Private/CoreAnimation/Animations/EllipseAnimation.swift +28 -0
- package/Sources/Private/CoreAnimation/Animations/GradientAnimations.swift +210 -0
- package/Sources/Private/CoreAnimation/Animations/LayerProperty.swift +229 -0
- package/Sources/Private/CoreAnimation/Animations/OpacityAnimation.swift +52 -0
- package/Sources/Private/CoreAnimation/Animations/RectangleAnimation.swift +31 -0
- package/Sources/Private/CoreAnimation/Animations/ShapeAnimation.swift +246 -0
- package/Sources/Private/CoreAnimation/Animations/StarAnimation.swift +95 -0
- package/Sources/Private/CoreAnimation/Animations/StrokeAnimation.swift +70 -0
- package/Sources/Private/CoreAnimation/Animations/TransformAnimations.swift +205 -0
- package/Sources/Private/CoreAnimation/Animations/VisibilityAnimation.swift +37 -0
- package/Sources/Private/CoreAnimation/CompatibilityTracker.swift +130 -0
- package/Sources/Private/CoreAnimation/CoreAnimationLayer.swift +492 -0
- package/Sources/Private/CoreAnimation/Extensions/CALayer+fillBounds.swift +35 -0
- package/Sources/Private/CoreAnimation/Extensions/KeyframeGroup+exactlyOneKeyframe.swift +37 -0
- package/Sources/Private/CoreAnimation/Extensions/Keyframes+combinedIfPossible.swift +73 -0
- package/Sources/Private/CoreAnimation/Layers/AnimationLayer.swift +83 -0
- package/Sources/Private/CoreAnimation/Layers/BaseAnimationLayer.swift +33 -0
- package/Sources/Private/CoreAnimation/Layers/BaseCompositionLayer.swift +87 -0
- package/Sources/Private/CoreAnimation/Layers/CALayer+setupLayerHierarchy.swift +131 -0
- package/Sources/Private/CoreAnimation/Layers/GradientRenderLayer.swift +94 -0
- package/Sources/Private/CoreAnimation/Layers/ImageLayer.swift +79 -0
- package/Sources/Private/CoreAnimation/Layers/LayerModel+makeAnimationLayer.swift +60 -0
- package/Sources/Private/CoreAnimation/Layers/MaskCompositionLayer.swift +138 -0
- package/Sources/Private/CoreAnimation/Layers/PreCompLayer.swift +140 -0
- package/Sources/Private/CoreAnimation/Layers/ShapeItemLayer.swift +302 -0
- package/Sources/Private/CoreAnimation/Layers/ShapeLayer.swift +319 -0
- package/Sources/Private/CoreAnimation/Layers/SolidLayer.swift +47 -0
- package/Sources/Private/CoreAnimation/Layers/TextLayer.swift +91 -0
- package/Sources/Private/CoreAnimation/Layers/TransformLayer.swift +11 -0
- package/Sources/Private/CoreAnimation/ValueProviderStore.swift +139 -0
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/CompLayers/CompositionLayer.swift +93 -85
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/CompLayers/ImageCompositionLayer.swift +24 -21
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/CompLayers/MaskContainerLayer.swift +75 -54
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/CompLayers/NullCompositionLayer.swift +5 -5
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/CompLayers/PreCompositionLayer.swift +61 -44
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/CompLayers/ShapeCompositionLayer.swift +22 -20
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/CompLayers/SolidCompositionLayer.swift +26 -17
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/CompLayers/TextCompositionLayer.swift +42 -36
- package/{lottie-swift/src/Private/LayerContainers/AnimationContainer.swift → Sources/Private/MainThread/LayerContainers/MainThreadAnimationLayer.swift} +200 -140
- package/Sources/Private/MainThread/LayerContainers/Utility/CachedImageProvider.swift +47 -0
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/Utility/CompositionLayersInitializer.swift +33 -24
- package/{lottie-swift/src/Private/LayerContainers/Utility/TextLayer.swift → Sources/Private/MainThread/LayerContainers/Utility/CoreTextRenderLayer.swift} +120 -106
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/Utility/InvertedMatteLayer.swift +25 -24
- package/Sources/Private/MainThread/LayerContainers/Utility/LayerFontProvider.swift +41 -0
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/Utility/LayerImageProvider.swift +20 -16
- package/Sources/Private/MainThread/LayerContainers/Utility/LayerTextProvider.swift +40 -0
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/LayerContainers/Utility/LayerTransformNode.swift +82 -67
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Extensions/ItemsExtension.swift +4 -4
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/NodeProperty.swift +29 -21
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/Protocols/AnyNodeProperty.swift +16 -10
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/Protocols/AnyValueContainer.swift +6 -6
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/Protocols/KeypathSearchable.swift +5 -5
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/Protocols/NodePropertyMap.swift +10 -8
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/ValueContainer.swift +25 -21
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/ValueProviders/GroupInterpolator.swift +23 -17
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/ValueProviders/KeyframeInterpolator.swift +125 -108
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/NodeProperties/ValueProviders/SingleValueProvider.swift +22 -17
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/ModifierNodes/TrimPathNode.swift +110 -79
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/OutputNodes/GroupOutputNode.swift +22 -16
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/OutputNodes/PassThroughOutputNode.swift +19 -15
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/OutputNodes/PathOutputNode.swift +22 -20
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/OutputNodes/Renderables/FillRenderer.swift +22 -23
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/Renderables/GradientFillRenderer.swift +242 -0
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/OutputNodes/Renderables/GradientStrokeRenderer.swift +30 -24
- package/{lottie-swift/src/Private/NodeRenderSystem/Nodes/OutputNodes/Renderables/GradientFillRenderer.swift → Sources/Private/MainThread/NodeRenderSystem/Nodes/OutputNodes/Renderables/LegacyGradientFillRenderer.swift} +93 -66
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/OutputNodes/Renderables/StrokeRenderer.swift +23 -19
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/PathNodes/EllipseNode.swift +139 -0
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/PathNodes/PolygonNode.swift +170 -0
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/PathNodes/RectNode.swift +95 -58
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/PathNodes/ShapeNode.swift +42 -29
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/PathNodes/StarNode.swift +108 -69
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/RenderContainers/GroupNode.swift +155 -0
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/RenderNodes/FillNode.swift +51 -37
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/RenderNodes/GradientFillNode.swift +54 -42
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/RenderNodes/GradientStrokeNode.swift +65 -57
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/RenderNodes/StrokeNode.swift +84 -58
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Nodes/Text/TextAnimatorNode.swift +138 -119
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Protocols/AnimatorNode.swift +80 -79
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Protocols/PathNode.swift +5 -3
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/Protocols/RenderNode.swift +22 -17
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/RenderLayers/ShapeContainerLayer.swift +27 -24
- package/{lottie-swift/src/Private → Sources/Private/MainThread}/NodeRenderSystem/RenderLayers/ShapeRenderLayer.swift +34 -25
- package/Sources/Private/Model/Animation.swift +160 -0
- package/Sources/Private/Model/Assets/Asset.swift +43 -0
- package/{lottie-swift/src → Sources}/Private/Model/Assets/AssetLibrary.swift +40 -13
- package/Sources/Private/Model/Assets/ImageAsset.swift +112 -0
- package/{lottie-swift/src → Sources}/Private/Model/Assets/PrecompAsset.swift +20 -10
- package/Sources/Private/Model/DictionaryInitializable.swift +67 -0
- package/Sources/Private/Model/Extensions/Bundle.swift +34 -0
- package/{lottie-swift/src → Sources}/Private/Model/Extensions/KeyedDecodingContainerExtensions.swift +8 -4
- package/Sources/Private/Model/Keyframes/KeyframeData.swift +113 -0
- package/Sources/Private/Model/Keyframes/KeyframeGroup.swift +197 -0
- package/{lottie-swift/src → Sources}/Private/Model/Layers/ImageLayerModel.swift +21 -11
- package/Sources/Private/Model/Layers/LayerModel.swift +228 -0
- package/{lottie-swift/src → Sources}/Private/Model/Layers/PreCompLayerModel.swift +39 -22
- package/{lottie-swift/src → Sources}/Private/Model/Layers/ShapeLayerModel.swift +23 -12
- package/{lottie-swift/src → Sources}/Private/Model/Layers/SolidLayerModel.swift +31 -19
- package/{lottie-swift/src → Sources}/Private/Model/Layers/TextLayerModel.swift +33 -19
- package/Sources/Private/Model/Objects/DashPattern.swift +44 -0
- package/Sources/Private/Model/Objects/Marker.swift +33 -0
- package/Sources/Private/Model/Objects/Mask.swift +80 -0
- package/Sources/Private/Model/Objects/Transform.swift +179 -0
- package/Sources/Private/Model/ShapeItems/Ellipse.swift +75 -0
- package/Sources/Private/Model/ShapeItems/Fill.swift +74 -0
- package/Sources/Private/Model/ShapeItems/GradientFill.swift +124 -0
- package/Sources/Private/Model/ShapeItems/GradientStroke.swift +186 -0
- package/Sources/Private/Model/ShapeItems/Group.swift +48 -0
- package/{lottie-swift/src → Sources}/Private/Model/ShapeItems/Merge.swift +29 -11
- package/Sources/Private/Model/ShapeItems/Rectangle.swift +73 -0
- package/Sources/Private/Model/ShapeItems/Repeater.swift +136 -0
- package/Sources/Private/Model/ShapeItems/Shape.swift +56 -0
- package/Sources/Private/Model/ShapeItems/ShapeItem.swift +163 -0
- package/Sources/Private/Model/ShapeItems/ShapeTransform.swift +136 -0
- package/Sources/Private/Model/ShapeItems/Star.swift +132 -0
- package/Sources/Private/Model/ShapeItems/Stroke.swift +102 -0
- package/Sources/Private/Model/ShapeItems/Trim.swift +78 -0
- package/Sources/Private/Model/Text/Font.swift +61 -0
- package/{lottie-swift/src → Sources}/Private/Model/Text/Glyph.swift +63 -39
- package/Sources/Private/Model/Text/TextAnimator.swift +164 -0
- package/Sources/Private/Model/Text/TextDocument.swift +123 -0
- package/Sources/Private/RootAnimationLayer.swift +51 -0
- package/{lottie-swift/src → Sources}/Private/Utility/Debugging/AnimatorNodeDebugging.swift +7 -7
- package/{lottie-swift/src → Sources}/Private/Utility/Debugging/LayerDebugging.swift +72 -48
- package/Sources/Private/Utility/Debugging/TestHelpers.swift +10 -0
- package/{lottie-swift/src → Sources}/Private/Utility/Extensions/AnimationKeypathExtension.swift +69 -59
- package/Sources/Private/Utility/Extensions/BlendMode+Filter.swift +31 -0
- package/Sources/Private/Utility/Extensions/CGColor+RGB.swift +22 -0
- package/{lottie-swift/src → Sources}/Private/Utility/Extensions/CGFloatExtensions.swift +70 -67
- package/Sources/Private/Utility/Extensions/DataExtension.swift +27 -0
- package/Sources/Private/Utility/Extensions/MathKit.swift +450 -0
- package/Sources/Private/Utility/Extensions/StringExtensions.swift +38 -0
- package/{lottie-swift/src → Sources}/Private/Utility/Helpers/AnimationContext.swift +42 -16
- package/Sources/Private/Utility/Interpolatable/InterpolatableExtensions.swift +134 -0
- package/{lottie-swift/src → Sources}/Private/Utility/Interpolatable/KeyframeExtensions.swift +13 -10
- package/Sources/Private/Utility/Interpolatable/KeyframeGroup+Extensions.swift +59 -0
- package/{lottie-swift/src → Sources}/Private/Utility/Primitives/BezierPath.swift +229 -143
- package/Sources/Private/Utility/Primitives/CGPointExtension.swift +35 -0
- package/{lottie-swift/src → Sources}/Private/Utility/Primitives/ColorExtension.swift +46 -14
- package/{lottie-swift/src → Sources}/Private/Utility/Primitives/CompoundBezierPath.swift +58 -49
- package/Sources/Private/Utility/Primitives/CurveVertex.swift +184 -0
- package/Sources/Private/Utility/Primitives/PathElement.swift +75 -0
- package/Sources/Private/Utility/Primitives/UnitBezier.swift +115 -0
- package/Sources/Private/Utility/Primitives/VectorsExtensions.swift +341 -0
- package/Sources/Public/Animation/AnimationPublic.swift +266 -0
- package/Sources/Public/Animation/AnimationView.swift +1335 -0
- package/Sources/Public/Animation/AnimationViewInitializers.swift +109 -0
- package/Sources/Public/AnimationCache/AnimationCacheProvider.swift +22 -0
- package/{lottie-swift/src → Sources}/Public/AnimationCache/LRUAnimationCache.swift +22 -18
- package/Sources/Public/DynamicProperties/AnimationKeypath.swift +49 -0
- package/Sources/Public/DynamicProperties/AnyValueProvider.swift +132 -0
- package/{lottie-swift/src → Sources}/Public/DynamicProperties/ValueProviders/ColorValueProvider.swift +54 -36
- package/{lottie-swift/src → Sources}/Public/DynamicProperties/ValueProviders/FloatValueProvider.swift +40 -36
- package/Sources/Public/DynamicProperties/ValueProviders/GradientValueProvider.swift +123 -0
- package/{lottie-swift/src → Sources}/Public/DynamicProperties/ValueProviders/PointValueProvider.swift +40 -35
- package/{lottie-swift/src → Sources}/Public/DynamicProperties/ValueProviders/SizeValueProvider.swift +40 -35
- package/{lottie-swift/src → Sources}/Public/FontProvider/AnimationFontProvider.swift +15 -8
- package/Sources/Public/ImageProvider/AnimationImageProvider.swift +21 -0
- package/Sources/Public/Keyframes/Interpolatable.swift +253 -0
- package/Sources/Public/Keyframes/Keyframe.swift +92 -0
- package/Sources/Public/Logging/LottieLogger.swift +137 -0
- package/Sources/Public/LottieConfiguration.swift +143 -0
- package/{lottie-swift/src → Sources}/Public/Primitives/AnimationTime.swift +1 -1
- package/{lottie-swift/src → Sources}/Public/Primitives/Color.swift +10 -6
- package/{lottie-swift/src → Sources}/Public/Primitives/Vectors.swift +13 -12
- package/Sources/Public/TextProvider/AnimationTextProvider.swift +53 -0
- package/{lottie-swift/src → Sources}/Public/iOS/AnimatedButton.swift +42 -26
- package/{lottie-swift/src → Sources}/Public/iOS/AnimatedControl.swift +100 -91
- package/{lottie-swift/src → Sources}/Public/iOS/AnimatedSwitch.swift +128 -94
- package/{lottie-swift/src → Sources}/Public/iOS/AnimationSubview.swift +3 -3
- package/Sources/Public/iOS/AnimationViewBase.swift +78 -0
- package/{lottie-swift/src → Sources}/Public/iOS/BundleImageProvider.swift +36 -34
- package/{lottie-swift/src → Sources}/Public/iOS/Compatibility/CompatibleAnimationKeypath.swift +4 -0
- package/{lottie-swift/src → Sources}/Public/iOS/Compatibility/CompatibleAnimationView.swift +38 -29
- package/{lottie-swift/src → Sources}/Public/iOS/FilepathImageProvider.swift +24 -21
- package/{lottie-swift/src → Sources}/Public/iOS/UIColorExtension.swift +4 -4
- package/{lottie-swift/src/Public/MacOS/AnimationSubview.swift → Sources/Public/macOS/AnimationSubview.macOS.swift} +4 -5
- package/{lottie-swift/src/Public/MacOS/LottieView.swift → Sources/Public/macOS/AnimationViewBase.macOS.swift} +58 -50
- package/{lottie-swift/src/Public/MacOS/BundleImageProvider.swift → Sources/Public/macOS/BundleImageProvider.macOS.swift} +31 -32
- package/Sources/Public/macOS/FilepathImageProvider.macOS.swift +67 -0
- package/Tests/AnimationKeypathTests.swift +94 -0
- package/Tests/AutomaticEngineTests.swift +57 -0
- package/Tests/BundleTests.swift +25 -0
- package/Tests/DataURLTests.swift +64 -0
- package/Tests/ParsingTests.swift +43 -0
- package/Tests/PerformanceTests.swift +215 -0
- package/Tests/SnapshotConfiguration.swift +153 -0
- package/Tests/SnapshotTests.swift +265 -0
- package/Tests/Utils/Bundle+Module.swift +30 -0
- package/Tests/Utils/HardcodedFontProvider.swift +19 -0
- package/Tests/Utils/HardcodedImageProvider.swift +23 -0
- package/Tests/Utils/Snapshotting+presentationLayer.swift +47 -0
- package/Tests/ValueProvidersTests.swift +27 -0
- package/lottie-ios.podspec +11 -12
- package/package.json +1 -1
- package/script/test-carthage/Cartfile +1 -0
- package/script/test-carthage/Cartfile.resolved +1 -0
- package/script/test-carthage/CarthageTest/AppDelegate.swift +26 -0
- package/script/test-carthage/CarthageTest/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/script/test-carthage/CarthageTest/Assets.xcassets/AppIcon.appiconset/Contents.json +98 -0
- package/script/test-carthage/CarthageTest/Assets.xcassets/Contents.json +6 -0
- package/script/test-carthage/CarthageTest/Base.lproj/LaunchScreen.storyboard +25 -0
- package/script/test-carthage/CarthageTest/Base.lproj/Main.storyboard +24 -0
- package/script/test-carthage/CarthageTest/Info.plist +66 -0
- package/script/test-carthage/CarthageTest/SceneDelegate.swift +10 -0
- package/script/test-carthage/CarthageTest/ViewController.swift +15 -0
- package/script/test-carthage/CarthageTest-macOS/AppDelegate.swift +7 -0
- package/script/test-carthage/CarthageTest-macOS/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
- package/script/test-carthage/CarthageTest-macOS/Assets.xcassets/AppIcon.appiconset/Contents.json +58 -0
- package/script/test-carthage/CarthageTest-macOS/Assets.xcassets/Contents.json +6 -0
- package/script/test-carthage/CarthageTest-macOS/Base.lproj/Main.storyboard +717 -0
- package/script/test-carthage/CarthageTest-macOS/CarthageTest_macOS.entitlements +10 -0
- package/script/test-carthage/CarthageTest-macOS/ViewController.swift +15 -0
- package/script/test-carthage/CarthageTest.xcodeproj/project.pbxproj +532 -0
- package/script/test-carthage/CarthageTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/script/test-carthage/CarthageTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/script/test-carthage/CarthageTest.xcodeproj/project.xcworkspace/xcuserdata/cal.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/script/test-carthage/CarthageTest.xcodeproj/project.xcworkspace/xcuserdata/calstephens.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/script/test-carthage/CarthageTest.xcodeproj/xcuserdata/cal.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/script/test-carthage/CarthageTest.xcodeproj/xcuserdata/calstephens.xcuserdatad/xcschemes/xcschememanagement.plist +19 -0
- package/script/test-carthage/Mintfile +1 -0
- package/script/test-spm/LottieSPM.xcworkspace/contents.xcworkspacedata +7 -0
- package/script/test-spm/LottieSPM.xcworkspace/xcuserdata/cal.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/script/test-spm/Mintfile +1 -0
- package/.swiftpm/xcode/package.xcworkspace/xcuserdata/brandonwithrow.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/Lottie/Info.plist +0 -22
- package/Lottie.xcodeproj/project.xcworkspace/xcuserdata/brandonwithrow.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/Lottie.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/LottieLibraryMacOS.xcscheme +0 -80
- package/Lottie.xcodeproj/xcuserdata/brandonwithrow.xcuserdatad/xcschemes/xcschememanagement.plist +0 -57
- package/lottie-swift/Assets/.gitkeep +0 -0
- package/lottie-swift/src/Private/LayerContainers/Utility/LayerFontProvider.swift +0 -37
- package/lottie-swift/src/Private/LayerContainers/Utility/LayerTextProvider.swift +0 -36
- package/lottie-swift/src/Private/Model/Animation.swift +0 -107
- package/lottie-swift/src/Private/Model/Assets/Asset.swift +0 -27
- package/lottie-swift/src/Private/Model/Assets/ImageAsset.swift +0 -48
- package/lottie-swift/src/Private/Model/Keyframes/Keyframe.swift +0 -128
- package/lottie-swift/src/Private/Model/Keyframes/KeyframeGroup.swift +0 -108
- package/lottie-swift/src/Private/Model/Layers/LayerModel.swift +0 -150
- package/lottie-swift/src/Private/Model/Objects/DashPattern.swift +0 -24
- package/lottie-swift/src/Private/Model/Objects/Marker.swift +0 -23
- package/lottie-swift/src/Private/Model/Objects/Mask.swift +0 -48
- package/lottie-swift/src/Private/Model/Objects/Transform.swift +0 -105
- package/lottie-swift/src/Private/Model/ShapeItems/Ellipse.swift +0 -50
- package/lottie-swift/src/Private/Model/ShapeItems/FillI.swift +0 -49
- package/lottie-swift/src/Private/Model/ShapeItems/GradientFill.swift +0 -86
- package/lottie-swift/src/Private/Model/ShapeItems/GradientStroke.swift +0 -125
- package/lottie-swift/src/Private/Model/ShapeItems/Group.swift +0 -32
- package/lottie-swift/src/Private/Model/ShapeItems/Rectangle.swift +0 -50
- package/lottie-swift/src/Private/Model/ShapeItems/Repeater.swift +0 -80
- package/lottie-swift/src/Private/Model/ShapeItems/Shape.swift +0 -37
- package/lottie-swift/src/Private/Model/ShapeItems/ShapeItem.swift +0 -95
- package/lottie-swift/src/Private/Model/ShapeItems/ShapeTransform.swift +0 -68
- package/lottie-swift/src/Private/Model/ShapeItems/Star.swift +0 -86
- package/lottie-swift/src/Private/Model/ShapeItems/Stroke.swift +0 -67
- package/lottie-swift/src/Private/Model/ShapeItems/Trim.swift +0 -53
- package/lottie-swift/src/Private/Model/Text/Font.swift +0 -35
- package/lottie-swift/src/Private/Model/Text/TextAnimator.swift +0 -99
- package/lottie-swift/src/Private/Model/Text/TextDocument.swift +0 -70
- package/lottie-swift/src/Private/NodeRenderSystem/Nodes/PathNodes/EllipseNode.swift +0 -109
- package/lottie-swift/src/Private/NodeRenderSystem/Nodes/PathNodes/PolygonNode.swift +0 -132
- package/lottie-swift/src/Private/NodeRenderSystem/Nodes/RenderContainers/GroupNode.swift +0 -141
- package/lottie-swift/src/Private/Utility/Extensions/MathKit.swift +0 -539
- package/lottie-swift/src/Private/Utility/Extensions/StringExtensions.swift +0 -32
- package/lottie-swift/src/Private/Utility/Interpolatable/Interpolatable.swift +0 -18
- package/lottie-swift/src/Private/Utility/Interpolatable/InterpolatableExtensions.swift +0 -170
- package/lottie-swift/src/Private/Utility/Primitives/CurveVertex.swift +0 -177
- package/lottie-swift/src/Private/Utility/Primitives/PathElement.swift +0 -68
- package/lottie-swift/src/Private/Utility/Primitives/VectorsExtensions.swift +0 -218
- package/lottie-swift/src/Public/Animation/AnimationPublic.swift +0 -196
- package/lottie-swift/src/Public/Animation/AnimationView.swift +0 -1006
- package/lottie-swift/src/Public/Animation/AnimationViewInitializers.swift +0 -83
- package/lottie-swift/src/Public/AnimationCache/AnimationCacheProvider.swift +0 -24
- package/lottie-swift/src/Public/DynamicProperties/AnimationKeypath.swift +0 -46
- package/lottie-swift/src/Public/DynamicProperties/AnyValueProvider.swift +0 -29
- package/lottie-swift/src/Public/DynamicProperties/ValueProviders/GradientValueProvider.swift +0 -114
- package/lottie-swift/src/Public/ImageProvider/AnimationImageProvider.swift +0 -23
- package/lottie-swift/src/Public/MacOS/FilepathImageProvider.swift +0 -67
- package/lottie-swift/src/Public/TextProvider/AnimationTextProvider.swift +0 -39
- package/lottie-swift/src/Public/iOS/LottieView.swift +0 -62
- package/lottie-swift-testing.podspec +0 -32
|
Binary file
|
package/Lottie.xcodeproj/xcshareddata/xcschemes/{Lottie_iOS.xcscheme → Lottie (iOS).xcscheme }
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<Scheme
|
|
3
|
-
LastUpgradeVersion = "
|
|
3
|
+
LastUpgradeVersion = "1320"
|
|
4
4
|
version = "1.3">
|
|
5
5
|
<BuildAction
|
|
6
6
|
parallelizeBuildables = "YES"
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
buildForAnalyzing = "YES">
|
|
15
15
|
<BuildableReference
|
|
16
16
|
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "
|
|
17
|
+
BlueprintIdentifier = "2E80409927A0725D006E74CB"
|
|
18
18
|
BuildableName = "Lottie.framework"
|
|
19
|
-
BlueprintName = "
|
|
19
|
+
BlueprintName = "Lottie-iOS"
|
|
20
20
|
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
21
21
|
</BuildableReference>
|
|
22
22
|
</BuildActionEntry>
|
|
@@ -28,9 +28,17 @@
|
|
|
28
28
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
29
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
30
|
<Testables>
|
|
31
|
+
<TestableReference
|
|
32
|
+
skipped = "NO">
|
|
33
|
+
<BuildableReference
|
|
34
|
+
BuildableIdentifier = "primary"
|
|
35
|
+
BlueprintIdentifier = "2E8040AB27A072B8006E74CB"
|
|
36
|
+
BuildableName = "LottieTests.xctest"
|
|
37
|
+
BlueprintName = "LottieTests"
|
|
38
|
+
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
39
|
+
</BuildableReference>
|
|
40
|
+
</TestableReference>
|
|
31
41
|
</Testables>
|
|
32
|
-
<AdditionalOptions>
|
|
33
|
-
</AdditionalOptions>
|
|
34
42
|
</TestAction>
|
|
35
43
|
<LaunchAction
|
|
36
44
|
buildConfiguration = "Debug"
|
|
@@ -42,17 +50,6 @@
|
|
|
42
50
|
debugDocumentVersioning = "YES"
|
|
43
51
|
debugServiceExtension = "internal"
|
|
44
52
|
allowLocationSimulation = "YES">
|
|
45
|
-
<MacroExpansion>
|
|
46
|
-
<BuildableReference
|
|
47
|
-
BuildableIdentifier = "primary"
|
|
48
|
-
BlueprintIdentifier = "486E83B1220A317C007CD915"
|
|
49
|
-
BuildableName = "Lottie.framework"
|
|
50
|
-
BlueprintName = "Lottie_iOS"
|
|
51
|
-
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
52
|
-
</BuildableReference>
|
|
53
|
-
</MacroExpansion>
|
|
54
|
-
<AdditionalOptions>
|
|
55
|
-
</AdditionalOptions>
|
|
56
53
|
</LaunchAction>
|
|
57
54
|
<ProfileAction
|
|
58
55
|
buildConfiguration = "Release"
|
|
@@ -63,9 +60,9 @@
|
|
|
63
60
|
<MacroExpansion>
|
|
64
61
|
<BuildableReference
|
|
65
62
|
BuildableIdentifier = "primary"
|
|
66
|
-
BlueprintIdentifier = "
|
|
63
|
+
BlueprintIdentifier = "2E80409927A0725D006E74CB"
|
|
67
64
|
BuildableName = "Lottie.framework"
|
|
68
|
-
BlueprintName = "
|
|
65
|
+
BlueprintName = "Lottie-iOS"
|
|
69
66
|
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
70
67
|
</BuildableReference>
|
|
71
68
|
</MacroExpansion>
|
package/Lottie.xcodeproj/xcshareddata/xcschemes/{Lottie_macOS.xcscheme → Lottie (macOS).xcscheme }
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<Scheme
|
|
3
|
-
LastUpgradeVersion = "
|
|
3
|
+
LastUpgradeVersion = "1320"
|
|
4
4
|
version = "1.3">
|
|
5
5
|
<BuildAction
|
|
6
6
|
parallelizeBuildables = "YES"
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
buildForAnalyzing = "YES">
|
|
15
15
|
<BuildableReference
|
|
16
16
|
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "
|
|
18
|
-
BuildableName = "
|
|
19
|
-
BlueprintName = "
|
|
17
|
+
BlueprintIdentifier = "2EAF59AC27A0787B00E00531"
|
|
18
|
+
BuildableName = "Lottie_macOS.framework"
|
|
19
|
+
BlueprintName = "Lottie-macOS"
|
|
20
20
|
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
21
21
|
</BuildableReference>
|
|
22
22
|
</BuildActionEntry>
|
|
@@ -29,8 +29,6 @@
|
|
|
29
29
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
30
|
<Testables>
|
|
31
31
|
</Testables>
|
|
32
|
-
<AdditionalOptions>
|
|
33
|
-
</AdditionalOptions>
|
|
34
32
|
</TestAction>
|
|
35
33
|
<LaunchAction
|
|
36
34
|
buildConfiguration = "Debug"
|
|
@@ -42,17 +40,6 @@
|
|
|
42
40
|
debugDocumentVersioning = "YES"
|
|
43
41
|
debugServiceExtension = "internal"
|
|
44
42
|
allowLocationSimulation = "YES">
|
|
45
|
-
<MacroExpansion>
|
|
46
|
-
<BuildableReference
|
|
47
|
-
BuildableIdentifier = "primary"
|
|
48
|
-
BlueprintIdentifier = "486E8566220A3605007CD915"
|
|
49
|
-
BuildableName = "Lottie.framework"
|
|
50
|
-
BlueprintName = "Lottie_macOS"
|
|
51
|
-
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
52
|
-
</BuildableReference>
|
|
53
|
-
</MacroExpansion>
|
|
54
|
-
<AdditionalOptions>
|
|
55
|
-
</AdditionalOptions>
|
|
56
43
|
</LaunchAction>
|
|
57
44
|
<ProfileAction
|
|
58
45
|
buildConfiguration = "Release"
|
|
@@ -63,9 +50,9 @@
|
|
|
63
50
|
<MacroExpansion>
|
|
64
51
|
<BuildableReference
|
|
65
52
|
BuildableIdentifier = "primary"
|
|
66
|
-
BlueprintIdentifier = "
|
|
67
|
-
BuildableName = "
|
|
68
|
-
BlueprintName = "
|
|
53
|
+
BlueprintIdentifier = "2EAF59AC27A0787B00E00531"
|
|
54
|
+
BuildableName = "Lottie_macOS.framework"
|
|
55
|
+
BlueprintName = "Lottie-macOS"
|
|
69
56
|
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
70
57
|
</BuildableReference>
|
|
71
58
|
</MacroExpansion>
|
package/Lottie.xcodeproj/xcshareddata/xcschemes/{Lottie_tvOS.xcscheme → Lottie (tvOS).xcscheme }
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<Scheme
|
|
3
|
-
LastUpgradeVersion = "
|
|
3
|
+
LastUpgradeVersion = "1320"
|
|
4
4
|
version = "1.3">
|
|
5
5
|
<BuildAction
|
|
6
6
|
parallelizeBuildables = "YES"
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
buildForAnalyzing = "YES">
|
|
15
15
|
<BuildableReference
|
|
16
16
|
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "
|
|
17
|
+
BlueprintIdentifier = "2EAF59B827A078E400E00531"
|
|
18
18
|
BuildableName = "Lottie.framework"
|
|
19
|
-
BlueprintName = "
|
|
19
|
+
BlueprintName = "Lottie-tvOS"
|
|
20
20
|
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
21
21
|
</BuildableReference>
|
|
22
22
|
</BuildActionEntry>
|
|
@@ -29,8 +29,6 @@
|
|
|
29
29
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
30
|
<Testables>
|
|
31
31
|
</Testables>
|
|
32
|
-
<AdditionalOptions>
|
|
33
|
-
</AdditionalOptions>
|
|
34
32
|
</TestAction>
|
|
35
33
|
<LaunchAction
|
|
36
34
|
buildConfiguration = "Debug"
|
|
@@ -42,17 +40,6 @@
|
|
|
42
40
|
debugDocumentVersioning = "YES"
|
|
43
41
|
debugServiceExtension = "internal"
|
|
44
42
|
allowLocationSimulation = "YES">
|
|
45
|
-
<MacroExpansion>
|
|
46
|
-
<BuildableReference
|
|
47
|
-
BuildableIdentifier = "primary"
|
|
48
|
-
BlueprintIdentifier = "486E84E1220A357D007CD915"
|
|
49
|
-
BuildableName = "Lottie.framework"
|
|
50
|
-
BlueprintName = "Lottie_tvOS"
|
|
51
|
-
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
52
|
-
</BuildableReference>
|
|
53
|
-
</MacroExpansion>
|
|
54
|
-
<AdditionalOptions>
|
|
55
|
-
</AdditionalOptions>
|
|
56
43
|
</LaunchAction>
|
|
57
44
|
<ProfileAction
|
|
58
45
|
buildConfiguration = "Release"
|
|
@@ -63,9 +50,9 @@
|
|
|
63
50
|
<MacroExpansion>
|
|
64
51
|
<BuildableReference
|
|
65
52
|
BuildableIdentifier = "primary"
|
|
66
|
-
BlueprintIdentifier = "
|
|
53
|
+
BlueprintIdentifier = "2EAF59B827A078E400E00531"
|
|
67
54
|
BuildableName = "Lottie.framework"
|
|
68
|
-
BlueprintName = "
|
|
55
|
+
BlueprintName = "Lottie-tvOS"
|
|
69
56
|
ReferencedContainer = "container:Lottie.xcodeproj">
|
|
70
57
|
</BuildableReference>
|
|
71
58
|
</MacroExpansion>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Lottie (iOS).xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
<key>Lottie (macOS).xcscheme_^#shared#^_</key>
|
|
13
|
+
<dict>
|
|
14
|
+
<key>orderHint</key>
|
|
15
|
+
<integer>1</integer>
|
|
16
|
+
</dict>
|
|
17
|
+
<key>Lottie (tvOS).xcscheme_^#shared#^_</key>
|
|
18
|
+
<dict>
|
|
19
|
+
<key>orderHint</key>
|
|
20
|
+
<integer>2</integer>
|
|
21
|
+
</dict>
|
|
22
|
+
</dict>
|
|
23
|
+
<key>SuppressBuildableAutocreation</key>
|
|
24
|
+
<dict>
|
|
25
|
+
<key>2E8040AB27A072B8006E74CB</key>
|
|
26
|
+
<dict>
|
|
27
|
+
<key>primary</key>
|
|
28
|
+
<true/>
|
|
29
|
+
</dict>
|
|
30
|
+
<key>2EAF59AC27A0787B00E00531</key>
|
|
31
|
+
<dict>
|
|
32
|
+
<key>primary</key>
|
|
33
|
+
<true/>
|
|
34
|
+
</dict>
|
|
35
|
+
</dict>
|
|
36
|
+
</dict>
|
|
37
|
+
</plist>
|
package/Lottie.xcodeproj/xcuserdata/calstephens.xcuserdatad/xcschemes/xcschememanagement.plist
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>Lottie (iOS).xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>1</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
<key>Lottie (macOS).xcscheme_^#shared#^_</key>
|
|
13
|
+
<dict>
|
|
14
|
+
<key>orderHint</key>
|
|
15
|
+
<integer>2</integer>
|
|
16
|
+
</dict>
|
|
17
|
+
<key>Lottie (tvOS).xcscheme_^#shared#^_</key>
|
|
18
|
+
<dict>
|
|
19
|
+
<key>orderHint</key>
|
|
20
|
+
<integer>3</integer>
|
|
21
|
+
</dict>
|
|
22
|
+
</dict>
|
|
23
|
+
</dict>
|
|
24
|
+
</plist>
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"object": {
|
|
3
|
+
"pins": [
|
|
4
|
+
{
|
|
5
|
+
"package": "Difference",
|
|
6
|
+
"repositoryURL": "https://github.com/krzysztofzablocki/Difference",
|
|
7
|
+
"state": {
|
|
8
|
+
"branch": null,
|
|
9
|
+
"revision": "02fe1111edc8318c4f8a0da96336fcbcc201f38b",
|
|
10
|
+
"version": "1.0.1"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"package": "Epoxy",
|
|
15
|
+
"repositoryURL": "https://github.com/airbnb/epoxy-ios.git",
|
|
16
|
+
"state": {
|
|
17
|
+
"branch": null,
|
|
18
|
+
"revision": "bc53da4def05eff869f96bedefda7e1a8fdcb199",
|
|
19
|
+
"version": "0.7.0"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"package": "SourceKitten",
|
|
24
|
+
"repositoryURL": "https://github.com/jpsim/SourceKitten.git",
|
|
25
|
+
"state": {
|
|
26
|
+
"branch": null,
|
|
27
|
+
"revision": "817dfa6f2e09b0476f3a6c9dbc035991f02f0241",
|
|
28
|
+
"version": "0.32.0"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"package": "AirbnbSwift",
|
|
33
|
+
"repositoryURL": "https://github.com/airbnb/swift",
|
|
34
|
+
"state": {
|
|
35
|
+
"branch": "master",
|
|
36
|
+
"revision": "b844956fd69f05e550038469a5d498462176f87a",
|
|
37
|
+
"version": null
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"package": "swift-argument-parser",
|
|
42
|
+
"repositoryURL": "https://github.com/apple/swift-argument-parser.git",
|
|
43
|
+
"state": {
|
|
44
|
+
"branch": null,
|
|
45
|
+
"revision": "e394bf350e38cb100b6bc4172834770ede1b7232",
|
|
46
|
+
"version": "1.0.3"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"package": "swift-snapshot-testing",
|
|
51
|
+
"repositoryURL": "https://github.com/pointfreeco/swift-snapshot-testing.git",
|
|
52
|
+
"state": {
|
|
53
|
+
"branch": "main",
|
|
54
|
+
"revision": "88f6e2c0afe04221fcfb1601a2ecaad83115a05f",
|
|
55
|
+
"version": null
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"package": "SwiftSyntax",
|
|
60
|
+
"repositoryURL": "https://github.com/apple/swift-syntax.git",
|
|
61
|
+
"state": {
|
|
62
|
+
"branch": null,
|
|
63
|
+
"revision": "0b6c22b97f8e9320bca62e82cdbee601cf37ad3f",
|
|
64
|
+
"version": "0.50600.1"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"package": "SwiftFormat",
|
|
69
|
+
"repositoryURL": "https://github.com/calda/SwiftFormat",
|
|
70
|
+
"state": {
|
|
71
|
+
"branch": null,
|
|
72
|
+
"revision": "2a9ed335450d3b3f66b2699d65124b9089195f5d",
|
|
73
|
+
"version": "0.49.11-beta-2"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"package": "SwiftLint",
|
|
78
|
+
"repositoryURL": "https://github.com/realm/SwiftLint",
|
|
79
|
+
"state": {
|
|
80
|
+
"branch": "e497f1f",
|
|
81
|
+
"revision": "e497f1f5b161af96ba439049d21970c6204d06c6",
|
|
82
|
+
"version": null
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"package": "SwiftyTextTable",
|
|
87
|
+
"repositoryURL": "https://github.com/scottrhoyt/SwiftyTextTable.git",
|
|
88
|
+
"state": {
|
|
89
|
+
"branch": null,
|
|
90
|
+
"revision": "c6df6cf533d120716bff38f8ff9885e1ce2a4ac3",
|
|
91
|
+
"version": "0.9.0"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"package": "SWXMLHash",
|
|
96
|
+
"repositoryURL": "https://github.com/drmohundro/SWXMLHash.git",
|
|
97
|
+
"state": {
|
|
98
|
+
"branch": null,
|
|
99
|
+
"revision": "6469881a3f30417c5bb02404ea4b69207f297592",
|
|
100
|
+
"version": "6.0.0"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"package": "Yams",
|
|
105
|
+
"repositoryURL": "https://github.com/jpsim/Yams.git",
|
|
106
|
+
"state": {
|
|
107
|
+
"branch": null,
|
|
108
|
+
"revision": "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa",
|
|
109
|
+
"version": "4.0.6"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"version": 1
|
|
115
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<VariablesViewState
|
|
3
|
+
version = "1.0">
|
|
4
|
+
<ContextStates>
|
|
5
|
+
<ContextState
|
|
6
|
+
contextName = "CAShapeLayer.addStrokeAnimations(for:context:):StrokeAnimation.swift">
|
|
7
|
+
</ContextState>
|
|
8
|
+
<ContextState
|
|
9
|
+
contextName = "PathOutputNode.setPath(_:updateFrame:):PathOutputNode.swift">
|
|
10
|
+
<PersistentStrings>
|
|
11
|
+
<PersistentString
|
|
12
|
+
value = "UIBezierPath(cgPath: path.cgPath())">
|
|
13
|
+
</PersistentString>
|
|
14
|
+
</PersistentStrings>
|
|
15
|
+
</ContextState>
|
|
16
|
+
<ContextState
|
|
17
|
+
contextName = "ShapeItemLayer.setupSolidFillAnimations(shapeLayer:context:):ShapeItemLayer.swift">
|
|
18
|
+
<PersistentStrings>
|
|
19
|
+
<PersistentString
|
|
20
|
+
value = "UIBezierPath(cgPath: BezierPath.ellipse(size: (shape.item as! Ellipse).size.keyframes[0].value.sizeValue, center: (shape.item as! Ellipse).position.keyframes[0].value.pointValue, direction: (shape.item as! Ellipse).direction).cgPath())">
|
|
21
|
+
</PersistentString>
|
|
22
|
+
</PersistentStrings>
|
|
23
|
+
</ContextState>
|
|
24
|
+
<ContextState
|
|
25
|
+
contextName = "closure #1 in CALayer.addScaleAnimations(from:context:):TransformAnimations.swift">
|
|
26
|
+
</ContextState>
|
|
27
|
+
<ContextState
|
|
28
|
+
contextName = "ShapeLayer.init(shapeLayer:context:):ShapeLayer.swift">
|
|
29
|
+
</ContextState>
|
|
30
|
+
<ContextState
|
|
31
|
+
contextName = "CALayer.defaultAnimation<τ_0_0, τ_0_1>(for:keyframes:value:context:):CALayer+addAnimation.swift">
|
|
32
|
+
</ContextState>
|
|
33
|
+
<ContextState
|
|
34
|
+
contextName = "PreCompLayer.setupAnimations(context:):PreCompLayer.swift">
|
|
35
|
+
</ContextState>
|
|
36
|
+
<ContextState
|
|
37
|
+
contextName = "TextLayer.setupSublayers(context:):TextLayer.swift">
|
|
38
|
+
<PersistentStrings>
|
|
39
|
+
<PersistentString
|
|
40
|
+
value = "text.fillColorData!.cgColorValue">
|
|
41
|
+
</PersistentString>
|
|
42
|
+
</PersistentStrings>
|
|
43
|
+
</ContextState>
|
|
44
|
+
<ContextState
|
|
45
|
+
contextName = "Array<τ_0_0>.initializeNodeTree():ItemsExtension.swift">
|
|
46
|
+
</ContextState>
|
|
47
|
+
<ContextState
|
|
48
|
+
contextName = "ExperimentalAnimationLayer.init(animation:imageProvider:):ExperimentalAnimationLayer.swift">
|
|
49
|
+
</ContextState>
|
|
50
|
+
<ContextState
|
|
51
|
+
contextName = "CAShapeLayer.addAnimations(for:context:):ShapeAnimation.swift">
|
|
52
|
+
</ContextState>
|
|
53
|
+
<ContextState
|
|
54
|
+
contextName = "CALayer.addPositionAnimations(from:context:):TransformAnimations.swift">
|
|
55
|
+
</ContextState>
|
|
56
|
+
<ContextState
|
|
57
|
+
contextName = "CALayer.setupGroups(from:parentGroup:context:):ShapeLayer.swift">
|
|
58
|
+
</ContextState>
|
|
59
|
+
<ContextState
|
|
60
|
+
contextName = "ShapeRenderLayer.rebuildContents(forFrame:):ShapeRenderLayer.swift">
|
|
61
|
+
<PersistentStrings>
|
|
62
|
+
<PersistentString
|
|
63
|
+
value = "UIBezierPath(cgPath: renderer.outputPath!)">
|
|
64
|
+
</PersistentString>
|
|
65
|
+
<PersistentString
|
|
66
|
+
value = "UIBezierPath(cgPath: shapeLayer.path!)">
|
|
67
|
+
</PersistentString>
|
|
68
|
+
</PersistentStrings>
|
|
69
|
+
</ContextState>
|
|
70
|
+
<ContextState
|
|
71
|
+
contextName = "BaseCompositionLayer.setupChildAnimations(context:):BaseCompositionLayer.swift">
|
|
72
|
+
</ContextState>
|
|
73
|
+
<ContextState
|
|
74
|
+
contextName = "CALayer.addVisibilityAnimation(inFrame:outFrame:context:):VisibilityAnimation.swift">
|
|
75
|
+
<PersistentStrings>
|
|
76
|
+
<PersistentString
|
|
77
|
+
value = "context.timingConfiguration._layerOffset / context.animation.duration">
|
|
78
|
+
</PersistentString>
|
|
79
|
+
</PersistentStrings>
|
|
80
|
+
</ContextState>
|
|
81
|
+
<ContextState
|
|
82
|
+
contextName = "CALayer.setupLayerHierarchy(for:context:):CALayer+setupLayerHierarchy.swift">
|
|
83
|
+
</ContextState>
|
|
84
|
+
<ContextState
|
|
85
|
+
contextName = "LayerAnimationContext.progressTime(for:):AnimationLayer.swift">
|
|
86
|
+
<PersistentStrings>
|
|
87
|
+
<PersistentString
|
|
88
|
+
value = "layerTimeOffset(frame)">
|
|
89
|
+
</PersistentString>
|
|
90
|
+
</PersistentStrings>
|
|
91
|
+
</ContextState>
|
|
92
|
+
<ContextState
|
|
93
|
+
contextName = "GroupNode.performAdditionalOutputUpdates(_:forceOutputUpdate:):GroupNode.swift">
|
|
94
|
+
</ContextState>
|
|
95
|
+
<ContextState
|
|
96
|
+
contextName = "PathOutputNode.hasOutputUpdates(_:):PathOutputNode.swift">
|
|
97
|
+
<PersistentStrings>
|
|
98
|
+
<PersistentString
|
|
99
|
+
value = "UIBezierPath(cgPath: newPath)">
|
|
100
|
+
</PersistentString>
|
|
101
|
+
</PersistentStrings>
|
|
102
|
+
</ContextState>
|
|
103
|
+
<ContextState
|
|
104
|
+
contextName = "PassThroughOutputNode.outputPath.getter:PassThroughOutputNode.swift">
|
|
105
|
+
</ContextState>
|
|
106
|
+
<ContextState
|
|
107
|
+
contextName = "LinkView.setContent(_:animated:):LinkView.swift">
|
|
108
|
+
</ContextState>
|
|
109
|
+
<ContextState
|
|
110
|
+
contextName = "ShapeItemLayer.setupSolidFillLayerHierarchy():ShapeItemLayer.swift">
|
|
111
|
+
<PersistentStrings>
|
|
112
|
+
<PersistentString
|
|
113
|
+
value = "UIBezierPath(cgPath: (shape.item as! Shape).path.keyframes[0].value.cgPath())">
|
|
114
|
+
</PersistentString>
|
|
115
|
+
</PersistentStrings>
|
|
116
|
+
</ContextState>
|
|
117
|
+
<ContextState
|
|
118
|
+
contextName = "closure #2 in CALayer.keyframeAnimation<τ_0_0, τ_0_1>(for:keyframes:value:context:):CALayer+addAnimation.swift">
|
|
119
|
+
</ContextState>
|
|
120
|
+
<ContextState
|
|
121
|
+
contextName = "ExperimentalAnimationLayer.playAnimation(context:timingConfiguration:playbackState:):ExperimentalAnimationLayer.swift">
|
|
122
|
+
</ContextState>
|
|
123
|
+
<ContextState
|
|
124
|
+
contextName = "CALayer.timingFunctions<τ_0_0, τ_0_1>(for:property:context:):CALayer+addAnimation.swift">
|
|
125
|
+
</ContextState>
|
|
126
|
+
<ContextState
|
|
127
|
+
contextName = "ShapeRenderLayer.hasRenderUpdate(forFrame:):ShapeRenderLayer.swift">
|
|
128
|
+
</ContextState>
|
|
129
|
+
<ContextState
|
|
130
|
+
contextName = "AnimatorNode.updateTree(_:forceUpdates:):AnimatorNode.swift">
|
|
131
|
+
</ContextState>
|
|
132
|
+
<ContextState
|
|
133
|
+
contextName = "ShapeCompositionLayer.init(shapeLayer:):ShapeCompositionLayer.swift">
|
|
134
|
+
</ContextState>
|
|
135
|
+
<ContextState
|
|
136
|
+
contextName = "BaseCompositionLayer.setupAnimations(context:):BaseCompositionLayer.swift">
|
|
137
|
+
</ContextState>
|
|
138
|
+
<ContextState
|
|
139
|
+
contextName = "CALayer.path(for:):CALayer+addAnimation.swift">
|
|
140
|
+
<PersistentStrings>
|
|
141
|
+
<PersistentString
|
|
142
|
+
value = "UIBezierPath(cgPath: path)">
|
|
143
|
+
</PersistentString>
|
|
144
|
+
</PersistentStrings>
|
|
145
|
+
</ContextState>
|
|
146
|
+
<ContextState
|
|
147
|
+
contextName = "BaseAnimationLayer.setupAnimations(context:):BaseAnimationLayer.swift">
|
|
148
|
+
</ContextState>
|
|
149
|
+
<ContextState
|
|
150
|
+
contextName = "ShapeItemLayer.setupAnimations(context:):ShapeItemLayer.swift">
|
|
151
|
+
</ContextState>
|
|
152
|
+
</ContextStates>
|
|
153
|
+
</VariablesViewState>
|
|
Binary file
|
package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<Bucket
|
|
3
|
+
uuid = "01C80884-20C6-43CD-959A-834F11C6CFBC"
|
|
4
|
+
type = "0"
|
|
5
|
+
version = "2.0">
|
|
6
|
+
<Breakpoints>
|
|
7
|
+
<BreakpointProxy
|
|
8
|
+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
|
9
|
+
<BreakpointContent
|
|
10
|
+
uuid = "8C528A5F-B345-4B34-BD67-A167DC41704A"
|
|
11
|
+
shouldBeEnabled = "Yes"
|
|
12
|
+
ignoreCount = "0"
|
|
13
|
+
continueAfterRunningActions = "No"
|
|
14
|
+
filePath = "Sources/Private/CoreAnimation/Animations/VisibilityAnimation.swift"
|
|
15
|
+
startingColumnNumber = "9223372036854775807"
|
|
16
|
+
endingColumnNumber = "9223372036854775807"
|
|
17
|
+
startingLineNumber = "44"
|
|
18
|
+
endingLineNumber = "44">
|
|
19
|
+
</BreakpointContent>
|
|
20
|
+
</BreakpointProxy>
|
|
21
|
+
<BreakpointProxy
|
|
22
|
+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
|
|
23
|
+
<BreakpointContent
|
|
24
|
+
uuid = "E2A7ABE7-5600-4664-AFAF-E57EDC35B39F"
|
|
25
|
+
shouldBeEnabled = "No"
|
|
26
|
+
condition = "outFrame == 601"
|
|
27
|
+
ignoreCount = "0"
|
|
28
|
+
continueAfterRunningActions = "No"
|
|
29
|
+
filePath = "Sources/Private/CoreAnimation/Animations/VisibilityAnimation.swift"
|
|
30
|
+
startingColumnNumber = "9223372036854775807"
|
|
31
|
+
endingColumnNumber = "9223372036854775807"
|
|
32
|
+
startingLineNumber = "17"
|
|
33
|
+
endingLineNumber = "17"
|
|
34
|
+
landmarkName = "addVisibilityAnimation(inFrame:outFrame:context:)"
|
|
35
|
+
landmarkType = "7">
|
|
36
|
+
</BreakpointContent>
|
|
37
|
+
</BreakpointProxy>
|
|
38
|
+
</Breakpoints>
|
|
39
|
+
</Bucket>
|
package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/xcdebugger/Expressions.xcexplist
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<VariablesViewState
|
|
3
|
+
version = "1.0">
|
|
4
|
+
<ContextStates>
|
|
5
|
+
<ContextState
|
|
6
|
+
contextName = "ShapeItemLayer.setupSolidFillAnimations(shapeLayer:context:):ShapeItemLayer.swift">
|
|
7
|
+
<PersistentStrings>
|
|
8
|
+
<PersistentString
|
|
9
|
+
value = "fill.color.keyframes.last!.value.cgColorValue">
|
|
10
|
+
</PersistentString>
|
|
11
|
+
</PersistentStrings>
|
|
12
|
+
</ContextState>
|
|
13
|
+
<ContextState
|
|
14
|
+
contextName = "CALayer.keyframeAnimation<τ_0_0, τ_0_1>(for:keyframes:value:context:):CALayer+addAnimation.swift">
|
|
15
|
+
</ContextState>
|
|
16
|
+
<ContextState
|
|
17
|
+
contextName = "FillNode.rebuildOutputs(frame:):FillNode.swift">
|
|
18
|
+
<PersistentStrings>
|
|
19
|
+
<PersistentString
|
|
20
|
+
value = "fillProperties.color.value.cgColorValue">
|
|
21
|
+
</PersistentString>
|
|
22
|
+
</PersistentStrings>
|
|
23
|
+
</ContextState>
|
|
24
|
+
</ContextStates>
|
|
25
|
+
</VariablesViewState>
|
package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/xcschemes/xcschememanagement.plist
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>SWXMLHashPlayground (Playground) 1.xcscheme</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>isShown</key>
|
|
10
|
+
<false/>
|
|
11
|
+
<key>orderHint</key>
|
|
12
|
+
<integer>8</integer>
|
|
13
|
+
</dict>
|
|
14
|
+
<key>SWXMLHashPlayground (Playground) 2.xcscheme</key>
|
|
15
|
+
<dict>
|
|
16
|
+
<key>isShown</key>
|
|
17
|
+
<false/>
|
|
18
|
+
<key>orderHint</key>
|
|
19
|
+
<integer>9</integer>
|
|
20
|
+
</dict>
|
|
21
|
+
<key>SWXMLHashPlayground (Playground).xcscheme</key>
|
|
22
|
+
<dict>
|
|
23
|
+
<key>isShown</key>
|
|
24
|
+
<false/>
|
|
25
|
+
<key>orderHint</key>
|
|
26
|
+
<integer>4</integer>
|
|
27
|
+
</dict>
|
|
28
|
+
</dict>
|
|
29
|
+
</dict>
|
|
30
|
+
</plist>
|