lottie-ios 4.1.3 → 4.2.0
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/workflows/main.yml +27 -9
- package/Lottie.xcodeproj/project.pbxproj +158 -70
- package/Lottie.xcodeproj/xcuserdata/calstephens.xcuserdatad/xcschemes/xcschememanagement.plist +2 -2
- package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/IDEFindNavigatorScopes.plist +5 -0
- package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +258 -0
- package/Lottie.xcworkspace/xcuserdata/calstephens.xcuserdatad/xcdebugger/Expressions.xcexplist +13 -2
- package/Package.swift +2 -1
- package/README.md +1 -1
- package/Rakefile +3 -3
- package/Sources/Private/CoreAnimation/Animations/CALayer+addAnimation.swift +16 -2
- package/Sources/Private/CoreAnimation/Animations/CombinedShapeAnimation.swift +1 -1
- package/Sources/Private/CoreAnimation/Animations/CustomPathAnimation.swift +1 -1
- package/Sources/Private/CoreAnimation/Animations/EllipseAnimation.swift +1 -1
- package/Sources/Private/CoreAnimation/Animations/GradientAnimations.swift +6 -6
- package/Sources/Private/CoreAnimation/Animations/LayerProperty.swift +68 -6
- package/Sources/Private/CoreAnimation/Animations/OpacityAnimation.swift +1 -1
- package/Sources/Private/CoreAnimation/Animations/RectangleAnimation.swift +1 -1
- package/Sources/Private/CoreAnimation/Animations/ShapeAnimation.swift +66 -102
- package/Sources/Private/CoreAnimation/Animations/StarAnimation.swift +2 -2
- package/Sources/Private/CoreAnimation/Animations/StrokeAnimation.swift +3 -3
- package/Sources/Private/CoreAnimation/Animations/TransformAnimations.swift +11 -11
- package/Sources/Private/CoreAnimation/CoreAnimationLayer.swift +55 -32
- package/Sources/Private/CoreAnimation/Layers/AnimationLayer.swift +3 -3
- package/Sources/Private/CoreAnimation/Layers/BaseCompositionLayer.swift +7 -9
- package/Sources/Private/CoreAnimation/Layers/ShapeLayer.swift +9 -1
- package/Sources/Private/CoreAnimation/ValueProviderStore.swift +22 -11
- package/Sources/Private/MainThread/LayerContainers/CompLayers/MaskContainerLayer.swift +1 -1
- package/Sources/Private/MainThread/LayerContainers/MainThreadAnimationLayer.swift +13 -2
- package/Sources/Private/MainThread/LayerContainers/Utility/LayerTransformNode.swift +4 -4
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/PathNodes/EllipseNode.swift +1 -1
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/PathNodes/PolygonNode.swift +2 -2
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/PathNodes/RectNode.swift +1 -1
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/PathNodes/StarNode.swift +2 -2
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/RenderContainers/GroupNode.swift +4 -4
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/RenderNodes/FillNode.swift +1 -1
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/RenderNodes/GradientFillNode.swift +1 -1
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/RenderNodes/GradientStrokeNode.swift +1 -1
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/RenderNodes/StrokeNode.swift +1 -1
- package/Sources/Private/MainThread/NodeRenderSystem/Nodes/Text/TextAnimatorNode.swift +4 -4
- package/Sources/Private/Model/Assets/ImageAsset.swift +4 -3
- package/Sources/Private/Model/DotLottie/DotLottieAnimation.swift +2 -8
- package/Sources/Private/Model/DotLottie/DotLottieManifest.swift +3 -14
- package/Sources/Private/Model/DotLottie/DotLottieUtils.swift +11 -1
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+BackingConfiguration.swift +147 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+Helpers.swift +351 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+MemoryFile.swift +183 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+Progress.swift +66 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+Reading.swift +144 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+ReadingDeprecated.swift +49 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+Writing.swift +385 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+WritingDeprecated.swift +91 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Archive+ZIP64.swift +170 -0
- package/Sources/Private/Model/DotLottie/{Zip/ZipArchive.swift → ZipFoundation/Archive.swift} +150 -227
- package/Sources/Private/Model/DotLottie/ZipFoundation/Data+Compression.swift +403 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/Data+CompressionDeprecated.swift +44 -0
- package/Sources/Private/Model/DotLottie/{Zip → ZipFoundation}/Data+Serialization.swift +62 -0
- package/Sources/Private/Model/DotLottie/{Zip/ZipEntry+Serialization.swift → ZipFoundation/Entry+Serialization.swift} +7 -7
- package/Sources/Private/Model/DotLottie/{Zip/ZipEntry+ZIP64.swift → ZipFoundation/Entry+ZIP64.swift} +13 -19
- package/Sources/Private/Model/DotLottie/{Zip/ZipEntry.swift → ZipFoundation/Entry.swift} +141 -10
- package/Sources/Private/Model/DotLottie/ZipFoundation/FileManager+ZIP.swift +368 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/README.md +24 -0
- package/Sources/Private/Model/DotLottie/ZipFoundation/URL+ZIP.swift +32 -0
- package/Sources/Private/Model/Extensions/Bundle.swift +5 -14
- package/Sources/Private/Model/Keyframes/KeyframeGroup.swift +31 -8
- package/Sources/Private/RootAnimationLayer.swift +3 -1
- package/Sources/Private/Utility/Extensions/AnimationKeypathExtension.swift +12 -4
- package/Sources/Private/Utility/Extensions/DataExtension.swift +14 -4
- package/Sources/Private/Utility/Primitives/BezierPathRoundExtension.swift +11 -0
- package/Sources/Public/Animation/LottieAnimationHelpers.swift +12 -10
- package/Sources/Public/Animation/LottieAnimationView.swift +52 -27
- package/Sources/Public/DotLottie/DotLottieFile.swift +11 -34
- package/Sources/Public/DotLottie/DotLottieFileHelpers.swift +92 -71
- package/Sources/Public/iOS/Compatibility/CompatibleAnimationView.swift +58 -0
- package/lottie-ios.podspec +1 -1
- package/package.json +1 -1
- package/LottieAnimation/LottieAnimation.xcodeproj/project.xcworkspace/xcuserdata/calstephens.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/LottieAnimation/LottieAnimation.xcodeproj/project.xcworkspace/xcuserdata/valentinperignon.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/LottieAnimation/LottieAnimation.xcodeproj/xcuserdata/calstephens.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/LottieAnimation/LottieAnimation.xcodeproj/xcuserdata/valentinperignon.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -6
- package/LottieAnimation/LottieAnimation.xcodeproj/xcuserdata/valentinperignon.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
- package/Sources/Private/Model/DotLottie/Zip/Data+Compression.swift +0 -134
- package/Sources/Private/Model/DotLottie/Zip/FileManager+ZIP.swift +0 -130
- package/Sources/Private/Utility/Interpolatable/KeyframeGroup+Extensions.swift +0 -59
|
@@ -7,7 +7,7 @@ on:
|
|
|
7
7
|
branches: [ master ]
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
|
-
build-package:
|
|
10
|
+
build-package-macos-12:
|
|
11
11
|
name: "Build Package"
|
|
12
12
|
runs-on: macos-12
|
|
13
13
|
strategy:
|
|
@@ -16,7 +16,23 @@ jobs:
|
|
|
16
16
|
xcode:
|
|
17
17
|
- '13.2.1' # Swift 5.5
|
|
18
18
|
- '13.4.1' # Swift 5.6
|
|
19
|
-
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v2
|
|
21
|
+
- uses: ./.github/actions/setup
|
|
22
|
+
with:
|
|
23
|
+
xcode: ${{ matrix.xcode }}
|
|
24
|
+
- name: Build Package
|
|
25
|
+
run: bundle exec rake build:package:all
|
|
26
|
+
|
|
27
|
+
build-package-macos-13:
|
|
28
|
+
name: "Build Package"
|
|
29
|
+
runs-on: macos-13
|
|
30
|
+
strategy:
|
|
31
|
+
fail-fast: false
|
|
32
|
+
matrix:
|
|
33
|
+
xcode:
|
|
34
|
+
- '14.2' # Swift 5.7
|
|
35
|
+
- '14.3' # Swift 5.8
|
|
20
36
|
steps:
|
|
21
37
|
- uses: actions/checkout@v2
|
|
22
38
|
- uses: ./.github/actions/setup
|
|
@@ -27,7 +43,7 @@ jobs:
|
|
|
27
43
|
|
|
28
44
|
build-example:
|
|
29
45
|
name: "Build Example App"
|
|
30
|
-
runs-on: macos-
|
|
46
|
+
runs-on: macos-13
|
|
31
47
|
steps:
|
|
32
48
|
- uses: actions/checkout@v2
|
|
33
49
|
- uses: ./.github/actions/setup
|
|
@@ -36,10 +52,12 @@ jobs:
|
|
|
36
52
|
|
|
37
53
|
test-package:
|
|
38
54
|
name: "Test Package"
|
|
39
|
-
runs-on: macos-
|
|
55
|
+
runs-on: macos-13
|
|
40
56
|
steps:
|
|
41
57
|
- uses: actions/checkout@v2
|
|
42
58
|
- uses: ./.github/actions/setup
|
|
59
|
+
with:
|
|
60
|
+
xcode: '14.3' # Swift 5.8
|
|
43
61
|
- name: Test Package
|
|
44
62
|
run: bundle exec rake test:package
|
|
45
63
|
- name: Process test artifacts
|
|
@@ -79,7 +97,7 @@ jobs:
|
|
|
79
97
|
|
|
80
98
|
cocoapod:
|
|
81
99
|
name: "Lint CocoaPods podspec"
|
|
82
|
-
runs-on: macos-
|
|
100
|
+
runs-on: macos-13
|
|
83
101
|
steps:
|
|
84
102
|
- uses: actions/checkout@v2
|
|
85
103
|
- uses: ./.github/actions/setup
|
|
@@ -90,7 +108,7 @@ jobs:
|
|
|
90
108
|
|
|
91
109
|
spm:
|
|
92
110
|
name: "Test Swift Package Manager support"
|
|
93
|
-
runs-on: macos-
|
|
111
|
+
runs-on: macos-13
|
|
94
112
|
steps:
|
|
95
113
|
- uses: actions/checkout@v2
|
|
96
114
|
- uses: ./.github/actions/setup
|
|
@@ -101,7 +119,7 @@ jobs:
|
|
|
101
119
|
|
|
102
120
|
carthage:
|
|
103
121
|
name: "Test Carthage support"
|
|
104
|
-
runs-on: macos-
|
|
122
|
+
runs-on: macos-13
|
|
105
123
|
steps:
|
|
106
124
|
- uses: actions/checkout@v2
|
|
107
125
|
- uses: ./.github/actions/setup
|
|
@@ -113,9 +131,9 @@ jobs:
|
|
|
113
131
|
|
|
114
132
|
swiftlint:
|
|
115
133
|
name: "Lint Swift"
|
|
116
|
-
runs-on: macos-
|
|
134
|
+
runs-on: macos-13
|
|
117
135
|
steps:
|
|
118
136
|
- uses: actions/checkout@v2
|
|
119
137
|
- uses: ./.github/actions/setup
|
|
120
138
|
- name: Lint Swift
|
|
121
|
-
run: bundle exec rake lint:swift
|
|
139
|
+
run: bundle exec rake lint:swift
|