Commit Graph

458 Commits

Author SHA1 Message Date
DreamPiggy 4b7cbfcf06 Fix the CI, re-enable GitHub Actions 2022-09-15 15:06:16 +08:00
DreamPiggy a75add8e3a Removed the unused code 2022-09-15 01:18:28 +08:00
DreamPiggy 13090bcc98 Fix Carthage project 2022-09-15 01:18:28 +08:00
DreamPiggy 30b26af70c Update README
Added something about the behavior
2022-09-15 01:18:28 +08:00
DreamPiggy 04c1ebba9c Refactor AnimatedImage implementation
Use context.coordinator to store loading status because it's exclusive unlike normal SwiftUI.View
2022-09-15 01:18:28 +08:00
DreamPiggy 2398f563a5 Refactor WebImage implementation
1. Use SwiftUIBackport to use StateObject/OnChange/Overlay
2. Change the Indicator API to match the transform for ImageManager
3. Remove the unused PlatformApear hack
2022-09-15 00:24:30 +08:00
DreamPiggy 336d3f6d3b
Merge pull request #187 from rufmirza/readme_corrections
Readme corrections
2021-05-31 11:39:35 +08:00
Rufat Mirza bc96b01b8c Add clarity to code example 2021-05-29 13:19:01 +03:00
Rufat Mirza 92704a2544 Add file extensions 2021-05-29 13:13:13 +03:00
Rufat Mirza 119eddc8cc Fix erroneous close parenthesis 2021-05-29 12:57:09 +03:00
DreamPiggy 5938dd0a25 Update the readme about the external loader/caches/coders usage tutorial 2021-04-13 16:15:37 +08:00
DreamPiggy cd8625b7cf Released v2.0.2 version
Update the CHANGELOG.md
2021-03-10 22:35:42 +08:00
DreamPiggy 5b658b0bc1
Merge pull request #178 from SDWebImage/remove_placeholder_maxWidth_limit
Remove the WebImage placeholder maxWidth/maxHeight modifier, this maybreak some use case like `TabView`. If user want to use placeholder, limit themselves
2021-03-10 22:29:31 +08:00
DreamPiggy 2935e2bb0c Code garden with Xcode 12's if let syntax in function builder 2021-03-10 22:28:30 +08:00
DreamPiggy d17d44e3c9 Remove the WebImage placeholder maxWidth/maxHeight modifier, this may break some use case like `TabView`. If user want to use placeholder, limit themselves
Also, polish the player API
2021-03-10 19:13:27 +08:00
DreamPiggy e19c35a07a
Merge pull request #177 from SDWebImage/fix_image_sturct_from_uiimage
Fix the issue that using `Image(uiimage:)` will result wrong rendering mode in some component like `TabbarItem`, while using `Image(decorative:sclae:orientation:)` works well
2021-03-10 18:04:40 +08:00
DreamPiggy f6074c2e5d Update the test case for the CGImage based 2021-03-10 17:10:08 +08:00
DreamPiggy 77f21c7ed9 Fix the issue that using `Image(uiimage:)` will result wrong rendering mode in some component like `TabbarItem`, while using `Image(decorative:sclae:orientation:)` works well 2021-03-10 16:02:06 +08:00
DreamPiggy 88f2d679b7 Released v2.0.1 version
Update the CHANGELOG.md
2021-02-25 21:41:31 +08:00
DreamPiggy 0fe0ff5846
Merge pull request #171 from SDWebImage/fix_rare_webimage_animating
Fix the rare cases that WebImage will lost animation when visibility changes.
2021-02-25 21:39:54 +08:00
DreamPiggy 69413ec0ee Fix the rare cases that WebImage will lost animation when visibility changes. Always setup player to play as defaults to avoid this. 2021-02-25 21:38:52 +08:00
DreamPiggy d0afa1ce35 Revert the help tooltip on Demo 2021-02-25 15:55:40 +08:00
DreamPiggy f4a03dcf23 Update the Demo for watchOS, added tooltip 2021-02-25 12:39:27 +08:00
DreamPiggy 532ca91191
Merge pull request #170 from SDWebImage/update_travis
Update the Travis to use Xcode 12
2021-02-24 18:26:11 +08:00
DreamPiggy 78a2769b06 Fix the test case `testWebImageEXIFImage` 2021-02-24 17:28:25 +08:00
DreamPiggy 09c55243c2 Added the Xcode 12 carthage workaround script for Travis 2021-02-24 16:01:35 +08:00
DreamPiggy 991680550e Update the Travis to use Xcode 12 2021-02-23 17:52:13 +08:00
DreamPiggy 00deaa82f3 Merge branch 'master' of https://github.com/SDWebImage/SDWebImageSwiftUI 2021-02-23 16:48:29 +08:00
DreamPiggy a1d1a4d081 Added the available for internal helper method 2021-02-23 16:48:10 +08:00
DreamPiggy b3faee62d5
Update README.md
Fix some typos in README.md
2021-02-23 16:43:11 +08:00
DreamPiggy 6fcaa47f45 Released v2.0.0 version
Update the CHANGELOG.md
2021-02-23 16:21:42 +08:00
DreamPiggy 087eac626e Update the test case about API changes 2021-02-23 16:20:22 +08:00
DreamPiggy b26da2eed6
Merge pull request #169 from SDWebImage/api_remove
Remove the wrong design onSuccess API. Using the full params one instead
2021-02-23 16:19:03 +08:00
DreamPiggy 59a9614605 Remove the wrong design onSuccess API. Using the full params one instead 2021-02-23 16:12:35 +08:00
DreamPiggy af644e483f
Merge pull request #168 from SDWebImage/feature_playbackmode
Update with the playbackMode support for `WebImage` and `AnimatedImage`
2021-02-23 16:02:05 +08:00
DreamPiggy 0b646a6286 Update with the playbackMode support for `WebImage` and `AnimatedImage` 2021-02-23 16:00:26 +08:00
DreamPiggy a30a71acb5
Merge pull request #167 from SDWebImage/xcode12
Bump the limit to Xcode 12, because we need new iOS 14+ APIs check
2021-02-23 15:59:27 +08:00
DreamPiggy e4ed4ad790 Bump the limit to Xcode 12, because we need new iOS 14+ APIs check 2021-02-23 15:37:46 +08:00
DreamPiggy 98372a776c
Merge pull request #166 from SDWebImage/update_watchOS_demo_progressView
Update watchOS demo to watchOS 7, remove the custom indicator sample and use `ProgressView` instead
2021-02-23 15:30:46 +08:00
DreamPiggy 75a1b2cf50 Update watchOS demo to watchOS 7, remove the custom indicator sample and use `ProgressView` instead 2021-02-23 15:29:03 +08:00
DreamPiggy de29f0b0a6
Merge pull request #165 from SDWebImage/update_webimage_defaults_animating
Update the WebImage to defaults animatable
2021-02-23 14:52:28 +08:00
DreamPiggy 25a9b46cd0 Update the WebImage to defaults animatable 2021-02-23 14:47:51 +08:00
DreamPiggy 74d142deca
Merge pull request #164 from SDWebImage/bugfix_appear_webimage
Fix the issue sometime the `WebImage` appear/disappear logic wrong. Using UIKit/AppKit to detect the visibility
2021-02-23 14:40:18 +08:00
DreamPiggy b512e31d28 Fix the issue sometime the `WebImage` appear/disappear logic wrong. Using UIKit/AppKit to detect the visibility 2021-02-23 14:31:55 +08:00
DreamPiggy 5832951dd9
Merge pull request #162 from SDWebImage/bugfix_lazyvstack_recursive_update_freeze
Try to fix the recusive updateView when using AnimatedImage inside `ScrollView/LazyVStack`.
2021-02-22 19:46:19 +08:00
DreamPiggy 013a1b95ba
Merge pull request #163 from SDWebImage/bugfix_webimage_animated_leak
Fix the leak of WebImage with animation and NavigationLink.
2021-02-22 19:45:47 +08:00
DreamPiggy ad067f7b4e Protect when animatedImage does not have CGImage (not possible in real situation) 2021-02-22 19:45:16 +08:00
DreamPiggy 7f8a06588f Update the test case 2021-02-22 19:41:54 +08:00
DreamPiggy 8b1dfc01cf Fix the leak of WebImage with animation and NavigationLink. The leak is because of @State which may cause reference cycle 2021-02-22 19:33:27 +08:00
DreamPiggy 66ca5fbb83 Update the logic to be compatible with LazyVStack's resetting status behavior 2021-02-22 17:05:56 +08:00