DreamPiggy
ba9db288f4
Fix the case which sometimes the player does not stop when WebImage it out of screen
...
This consume CPU because CADisplayLink is still running in the background
2022-09-23 18:18:43 +08:00
DreamPiggy
53ac75c52b
Merge pull request #235 from SDWebImage/fix_nil_url_fixed_point
...
Fix the nil url always returns Error will cause infinity `onAppear` call and image manager to load, which waste CPU
2022-09-23 17:04:13 +08:00
DreamPiggy
bf3d86b15d
Fix the nil url always returns Error will cause infinity `onAppear` call and image manager to load, which waste CPU
...
Instead, use url as identity to avoid this
2022-09-23 12:20:56 +08:00
DreamPiggy
2221b4fde4
Released v2.2.0 version
...
Update the CHANGELOG.md
2022-09-22 16:36:16 +08:00
DreamPiggy
9a82da2a1c
Merge pull request #232 from SDWebImage/fix_backport_ios13
...
Fix iOS 13 compatibility && State changes
2022-09-22 16:28:09 +08:00
DreamPiggy
5a5690e2dc
Fix the test case project
2022-09-22 16:09:46 +08:00
DreamPiggy
abd9102f6b
Update the readme about when using in List/LazyStack/LazyGrid
2022-09-22 15:03:20 +08:00
DreamPiggy
d18693909b
Fix watchOS demo compile issue
2022-09-22 00:13:22 +08:00
DreamPiggy
1d7efeccc4
Fix the empty placeholder may cause onAppear does not called
...
Move the reset logic into helper function setupManager
2022-09-22 00:00:40 +08:00
DreamPiggy
d281bde037
Fix the State change behavior again
...
Using the `StateObject` to check and refresh to the latest status, using `currentURL` and `currentAnimatedImage` to check lazily
2022-09-21 23:01:07 +08:00
DreamPiggy
ce5340fd08
Fix the delayPlaceholder behavior and Player behavior when parent View change state
2022-09-21 20:45:12 +08:00
DreamPiggy
6590afdd3a
Use manager published IndicatorStatus to pass update the indicator
...
Fix warning
2022-09-21 20:35:44 +08:00
DreamPiggy
e1c32aea7d
Fix iOS 13 compatibility
...
Revert back the onPlatformAppear to fix iOS 14+ behavior
Use backport for all OSs
2022-09-21 20:14:30 +08:00
DreamPiggy
83d46c08b5
Released v2.1.0 version
...
Update the CHANGELOG.md
2022-09-15 21:13:37 +08:00
DreamPiggy
3258812caa
Merge pull request #227 from SDWebImage/refactor_xcode14_state_update
...
Refactor WebImage/AnimatedImage using SwiftUIBackports and StateObject
2022-09-15 21:08:01 +08:00
DreamPiggy
f263e8e049
Change to use CocoaPods to manage test case instead of Carthage
2022-09-15 20:48:57 +08:00
DreamPiggy
ef03282068
Fix the WebImage onSuccess does not get called because of StateObject get touched before onAppear
2022-09-15 20:36:24 +08:00
DreamPiggy
ac0e73b1f8
Update ViewInspector to 0.9.1
2022-09-15 17:18:43 +08:00
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