-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now it's time to move to Lottie 3.4, which solve the performance issue
Pick back the code, and implements the bitmap frame extract using the new API
- Loading branch information
1 parent
0e230d8
commit 7f1b50c
Showing
34 changed files
with
530 additions
and
1,250 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github "SDWebImage/SDWebImage" ~> 5.10 | ||
github "airbnb/lottie-ios" ~> 2.5 | ||
github "airbnb/lottie-ios" ~> 3.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
github "SDWebImage/SDWebImage" "5.5.2" | ||
github "airbnb/lottie-ios" "2.5.3" | ||
github "SDWebImage/SDWebImage" "5.13.0" | ||
github "airbnb/lottie-ios" "3.4.0" |
14 changes: 7 additions & 7 deletions
14
Example/SDWebImageLottiePlugin Example macOS/AppDelegate.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "Lottie", | ||
"repositoryURL": "https://github.com/airbnb/lottie-ios.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "246bab7ef72bad56abefb88e84a08871cecf9cb8", | ||
"version": "3.4.0" | ||
} | ||
}, | ||
{ | ||
"package": "SDWebImage", | ||
"repositoryURL": "https://github.com/SDWebImage/SDWebImage.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "c4b8660bb3ef543fe4bdcaac0db956b32dc5583f", | ||
"version": "5.13.0" | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// swift-tools-version:5.1 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "SDWebImageLottiePlugin", | ||
platforms: [ | ||
.iOS(.v11), | ||
.tvOS(.v11), | ||
.macOS(.v10_11) | ||
], | ||
products: [ | ||
// Products define the executables and libraries produced by a package, and make them visible to other packages. | ||
.library( | ||
name: "SDWebImageLottiePlugin", | ||
targets: ["SDWebImageLottiePlugin"]), | ||
], | ||
dependencies: [ | ||
// Dependencies declare other packages that this package depends on. | ||
// .package(url: /* package url */, from: "1.0.0"), | ||
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.10.0"), | ||
.package(url: "https://github.com/airbnb/lottie-ios.git", from: "3.4.0") | ||
], | ||
targets: [ | ||
// Targets are the basic building blocks of a package. A target can define a module or a test suite. | ||
// Targets can depend on other targets in this package, and on products in packages which this package depends on. | ||
.target( | ||
name: "SDWebImageLottiePlugin", | ||
dependencies: ["SDWebImage", "Lottie"], | ||
path: ".", | ||
sources: ["SDWebImageLottiePlugin/Classes"], | ||
publicHeadersPath: "SDWebImageLottiePlugin/Classes" | ||
) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.