DreamPiggy
|
03982673ca
|
Simplify the type declaration
|
2019-11-02 16:47:44 +08:00 |
DreamPiggy
|
f10bfa7777
|
Update the code documentation for AnimatedImage
|
2019-11-02 16:47:44 +08:00 |
DreamPiggy
|
3579e7b7f1
|
Add `onViewDestroy` API, change `onViewUpdate` and `onViewCreate` with context arg to pass user-provided value. Chaing all the unused binding into the stored property
|
2019-11-02 16:47:44 +08:00 |
DreamPiggy
|
fb7d3919b4
|
Rmove the unused cross-platforms alias
|
2019-11-02 16:30:44 +08:00 |
DreamPiggy
|
bbf6d591eb
|
Merge pull request #40 from SDWebImage/refactory_placeholder
Refactory placeholder to support custom View Builder
|
2019-11-02 14:19:42 +08:00 |
DreamPiggy
|
9dcc697a16
|
Update the demo for placeholder comments
|
2019-11-02 14:12:20 +08:00 |
DreamPiggy
|
fc9c2b5293
|
Change the AnimatedImage API to match the same design. But AnimatedImage need the platform image (becaseu this is needed for SD and return type is limited to AnimatedImage)
|
2019-11-02 13:12:43 +08:00 |
DreamPiggy
|
df96e832b8
|
Add `retryOnAppear` and `cancelOnDisappear` behavior control
|
2019-11-02 12:47:28 +08:00 |
DreamPiggy
|
8f2054ee20
|
Change the AnimatedImage AnyView into Group, seems this is more performent
|
2019-11-02 12:40:47 +08:00 |
DreamPiggy
|
9cdd592c03
|
Refactory placeholder arg with a view modifier API, make it more suitable for common usage
|
2019-11-02 12:33:27 +08:00 |
DreamPiggy
|
aebd140067
|
Bump version to 0.6.5
|
2019-11-02 12:00:02 +08:00 |
DreamPiggy
|
d1acfc5c55
|
Merge pull request #39 from SDWebImage/fix_quick_scroll_webimage_cpu_usage
Fix WebImage with indicator, when quick scroll without cache, may cause recursion
|
2019-11-02 11:49:07 +08:00 |
DreamPiggy
|
df60030490
|
Add comments about imageManager status, since it's complicated now
|
2019-11-02 11:38:41 +08:00 |
DreamPiggy
|
4b8d5cd8b6
|
Fix the issue when quick scroll, WebImage indicator will cause huge CPU usage because of recusive call. Ignore the onDisappear use cancel code
|
2019-11-02 11:38:06 +08:00 |
DreamPiggy
|
46c841af3b
|
Update some demo operation tips
|
2019-11-02 05:49:01 +08:00 |
DreamPiggy
|
2213df5ea8
|
Update the readme about latest version
|
2019-11-02 05:41:49 +08:00 |
DreamPiggy
|
b8e8226d14
|
Update readme about usage
|
2019-11-02 05:37:35 +08:00 |
DreamPiggy
|
4097d566a9
|
Revert "Fix the indicator will create multiple times, only create once with binding"
This reverts commit 417f0fd6a5 .
|
2019-11-02 05:29:27 +08:00 |
DreamPiggy
|
a229aa6397
|
Merge pull request #38 from SDWebImage/bugfix_webImage_incremental
Fix the issue that WebImage will stop download after first progressive loading image loaded
|
2019-11-02 05:26:37 +08:00 |
DreamPiggy
|
a5c8082b79
|
Fix the issue that WebImage will stop download after first progressive loading image loaded
|
2019-11-02 05:17:25 +08:00 |
DreamPiggy
|
44beb17703
|
Bump version to 0.6.4
|
2019-11-02 04:26:17 +08:00 |
DreamPiggy
|
e286ad5b01
|
Merge pull request #37 from SDWebImage/fix_indicator_create_multiple_times
Fix Indicator ViewBuilder will create multiple times, Fix indicator does not stop on error
|
2019-11-02 04:25:32 +08:00 |
DreamPiggy
|
a00e9cbe91
|
Update demo, add one SwiftUI activity indicator for watchOS
|
2019-11-02 04:21:48 +08:00 |
DreamPiggy
|
1acafa9131
|
Fix Indicator logic, no longer populate when is not loading (such as error)
|
2019-11-02 04:18:51 +08:00 |
DreamPiggy
|
417f0fd6a5
|
Fix the indicator will create multiple times, only create once with binding
|
2019-11-02 03:05:27 +08:00 |
DreamPiggy
|
06ef24dd97
|
Update README.md
|
2019-11-01 12:40:21 +08:00 |
DreamPiggy
|
079212549e
|
Update the readme about sem-version
|
2019-11-01 03:58:28 +08:00 |
DreamPiggy
|
0fb5672c07
|
Update the readme with Features chapter
|
2019-11-01 03:56:02 +08:00 |
DreamPiggy
|
b5d775f15e
|
Using the hack on watchOS to fix the issue when aspect fit with nil value, this need SwiftUI to provide public API
|
2019-10-30 03:54:47 +08:00 |
DreamPiggy
|
3017ca7968
|
Bump version to 0.6.3
|
2019-10-30 02:11:17 +08:00 |
DreamPiggy
|
d7e80bca2b
|
Update the comments about `.scaleProportionallyUpOrDown` on macOS
|
2019-10-30 02:10:48 +08:00 |
DreamPiggy
|
2d07004d13
|
Merge pull request #36 from SDWebImage/bugfix_AnimatedImage_aspect_fix_final
Using the intrinsicContentSize on wrapper container, try to fix the aspect ratio sizing issue
|
2019-10-30 01:59:44 +08:00 |
DreamPiggy
|
149f265738
|
Using the intrinsicContentSize on wrapper container, try to fix the aspect ratio sizing issue, hope this is the final change
|
2019-10-30 01:56:00 +08:00 |
DreamPiggy
|
3ea6e12389
|
Update the readme with some typo fix and code sample
|
2019-10-29 21:27:23 +08:00 |
DreamPiggy
|
ee7445afd7
|
Update the readme with more structure, add one `Which View to choose` chapter
|
2019-10-29 21:11:50 +08:00 |
DreamPiggy
|
3994022447
|
Bump version to 0.6.2
|
2019-10-29 15:30:02 +08:00 |
DreamPiggy
|
e50a326258
|
Merge pull request #35 from SDWebImage/fix_animated_image_scale_logic
Fix AnimatedImage scale logic to match SwiftUI.Image
|
2019-10-29 15:26:12 +08:00 |
DreamPiggy
|
25daa2d0f0
|
Update the macOS Example to use Sidebar style but not default style, which default size more correctly
|
2019-10-29 14:57:48 +08:00 |
DreamPiggy
|
70f161dade
|
Seperate the aspect ratio override method implementation with others, since it return some View but not AnimatedImage
|
2019-10-29 06:42:37 +08:00 |
DreamPiggy
|
f7986ada33
|
Re-implements the AnimatedImage scale mode using the correct logic compared with SwiftUI.Image
|
2019-10-29 06:42:37 +08:00 |
DreamPiggy
|
27e8288d1b
|
Bump version to 0.6.1
|
2019-10-28 18:48:04 +08:00 |
DreamPiggy
|
4929f3004a
|
Merge pull request #34 from SDWebImage/fix_animatedImage_aspect_ratio
Implements the AnimatedImage's aspectRatio method, which match the SwiftUI.Image behavior.
|
2019-10-28 18:40:04 +08:00 |
DreamPiggy
|
07787e04f4
|
Throw a exception when user contains mistake to call aspectRatio with non-positive values. This is exist behavior of SwiftUI's Image (But the exception is different)
|
2019-10-28 18:31:52 +08:00 |
DreamPiggy
|
bd635fdc2f
|
Implements the AnimatedImage's aspectRatio method, which match the SwiftUI.Image behavior.
Using some trick code, but it works at least
|
2019-10-28 17:36:55 +08:00 |
DreamPiggy
|
a2f0b2dc44
|
Merge pull request #33 from SDWebImage/improvement_view_modifier
Change the implementation of indicator by using view modifier
|
2019-10-28 14:22:09 +08:00 |
DreamPiggy
|
14bb4be6a8
|
The progress indicator bar style is only available on iOS
|
2019-10-28 13:04:47 +08:00 |
DreamPiggy
|
a6a6d58073
|
Use View Modifier instead of new view type for indicator, simplify the code
|
2019-10-28 13:04:18 +08:00 |
DreamPiggy
|
98ffc78043
|
Bump version to 0.6.0
|
2019-10-27 20:20:53 +08:00 |
DreamPiggy
|
cc2981732b
|
Update the example on watchOS, to use fade transition
|
2019-10-27 20:19:52 +08:00 |
DreamPiggy
|
85a648fb43
|
Merge pull request #32 from SDWebImage/feature_convenient_transition_API
Refactory and introduced the convenient transition API on WebImage, compatible for SwiftUI Animation
|
2019-10-27 20:13:46 +08:00 |