Commit Graph

576 Commits

Author SHA1 Message Date
DreamPiggy d564aa5ca1 Only use CGImage based when the EXIF orientation is not equal to Up. I think SwfitUI will fix this issue in the future and we'd better use UIImage as much as possible 2020-04-15 17:31:44 +08:00
DreamPiggy 0a41337ed0 Try to solve the SwiftUI bug of rendering EXIF UIImage in WebImage. Now we use the Image(decorative:) API to grab the CGImage and orientation instead. For vector image, draw vector image into bitmap for rescue 2020-04-15 12:40:25 +08:00
DreamPiggy 14a3cce8e5 Released v1.3.2 version
Update the CHANGELOG.md
2020-04-14 22:39:02 +08:00
DreamPiggy c255043a0f
Merge pull request #100 from SDWebImage/module_export_sd
Automatically import SDWebImage when user write import SDWebImageSwiftUI
2020-04-14 22:36:14 +08:00
DreamPiggy 7c18cc0549 Remove the import of umbrella header in the SDWebImageSwiftUI.h, we now use Swift exported module instead 2020-04-14 22:06:42 +08:00
DreamPiggy 301cace37b Automatically import SDWebImage when user write import SDWebImageSwiftUI 2020-04-14 21:20:38 +08:00
DreamPiggy 8fe43a55a7 Update the watchOS example to remove the hack to bind presentationMode, this is SwiftUI's bug and no workaround after 6.2... 2020-04-14 01:36:42 +08:00
DreamPiggy 776e18f88d Update the watchOS Example with latest Espera 2020-04-14 01:21:25 +08:00
DreamPiggy c710df6456 Released v1.3.1 version
Update the CHANGELOG.md
2020-04-10 23:43:14 +08:00
DreamPiggy 5af223d10b
Merge pull request #97 from peroper/master
Don't embed SDWebImage.framework in SDWebImageSwiftUI.framework
2020-04-10 23:40:27 +08:00
Jonas Bromö c5a1512b4e Don't embed SDWebImage.framework in SDWebImageSwiftUI.framework, solves https://github.com/SDWebImage/SDWebImageSwiftUI/issues/96 2020-04-10 10:01:57 +02:00
DreamPiggy fdfac45768 Released v1.3.0 version
Update the CHANGELOG.md
2020-04-05 15:28:39 +08:00
DreamPiggy c6e4400142
Merge pull request #94 from SDWebImage/feature_animated_placeholder_view_builder
Feature AnimatedImage placeholder view builder
2020-04-05 15:20:18 +08:00
DreamPiggy 63201c7145 Fix the test case during refactory the prefetch logic 2020-04-05 15:00:39 +08:00
DreamPiggy 1e1ddccc1a Update the test cases and readme about AnimatedImage 2020-04-05 14:25:27 +08:00
DreamPiggy f2f51de40e Update the readme about the placeholder ViewBuilder on AnimatedImage 2020-04-05 13:50:35 +08:00
DreamPiggy cd187c81b0 Added the support for AnimatedImage to use @ViewBuilder placeholder, better than UIImage for common customizable placeholders 2020-04-05 13:48:43 +08:00
DreamPiggy 7458f13329
Merge pull request #93 from SDWebImage/upgrade_sdwebimage_5_7
Upgrade the dependency of SDWebImage 5.7.0
2020-04-05 12:43:31 +08:00
DreamPiggy 43c418de78 Update the README to place the SwiftPM before CocoaPods, where SwiftUI user prefers more 2020-04-05 12:22:22 +08:00
DreamPiggy 4613ebfbde Don't do prefetch from memory cache if user indeed pass `.fromLoaderOnly` 2020-04-05 12:20:10 +08:00
DreamPiggy d07a405bb5 Upgrade the dependency of SDWebImage 5.7.0 2020-04-04 19:52:16 +08:00
DreamPiggy 395f0e61f9 Simplify the code for WebImage platform image convention 2020-04-01 20:51:02 +08:00
DreamPiggy caebf495b9 Released v1.2.1 version 2020-04-01 17:51:12 +08:00
DreamPiggy 9b8c19df1d Protect the runtime hack for user who use before SDWebImage 5.6.0 2020-04-01 17:50:46 +08:00
DreamPiggy 96a2832442 Update the CHANGELOG 2020-04-01 17:46:35 +08:00
DreamPiggy 0dcefe507f
Merge pull request #92 from SDWebImage/fix_query_image_extra_times
Fix the issue when using WebImage with some transition like scaleEffect, each time the new state update will cause unused image fetching
2020-04-01 15:39:33 +08:00
DreamPiggy ffeea1a334 Fix the edge cases when transformer and thumbnail get applied at the same time, we need to write correct code to query memory cache only 2020-04-01 11:22:22 +08:00
DreamPiggy aafa7a2222 Fix the case that user should get the onSuccess callback even when memory cache hit 2020-03-31 21:08:01 +08:00
DreamPiggy 78d9bfbb60 Fix the context arg pass issue, should use the local variable 2020-03-31 20:23:32 +08:00
DreamPiggy 94aadc1927 Fix the issue when using thumbnailPixelSize and optionsProcessor 2020-03-31 20:08:00 +08:00
DreamPiggy d9fd4726ea Using a more trick but smart solution for cases when WebImage is used during transition state, like scaleEffect. In this time, we does not trigger a actualy image loading, only query the memory cache for quickly placeholder 2020-03-31 17:24:47 +08:00
DreamPiggy 0b11cceaaa Released v1.2.0 version 2020-03-29 21:33:22 +08:00
DreamPiggy 2a47ec9cdd Update the CHANGELOG 2020-03-29 21:32:38 +08:00
DreamPiggy 42fdca6753
Merge pull request #91 from SDWebImage/feature_delayPlaceholder_webimage
Supports the `delayPlaceholder` for WebImage
2020-03-29 21:28:13 +08:00
DreamPiggy b084945b0f Remove the extra AnyView wrap 2020-03-29 21:27:11 +08:00
DreamPiggy 59634bfab8 Update the readme about the options and context usage, like delayPlaceholder 2020-03-29 21:04:11 +08:00
DreamPiggy 80e3137e3d Supports the `delayPlaceholder` for WebImage, update the Example to show the usage 2020-03-29 20:49:37 +08:00
DreamPiggy ca9922c044
Merge pull request #90 from SDWebImage/bugfix_animatedImage_rare_crash
Fix the issue when dealloc AnimatedImage's native View, the window does not exist and cause internel Crash
2020-03-29 18:44:55 +08:00
DreamPiggy c0f253133a Fix the issue when dealloc AnimatedImage's native View, the window does not exist and cause internel Crash 2020-03-29 17:39:25 +08:00
DreamPiggy e8dcfc5b34
Merge pull request #89 from SDWebImage/animatedimage_update
Animatedimage little patch - UIKit/AppKit animated image now applied for resizingMode
2020-03-29 17:19:30 +08:00
DreamPiggy ee17bb076c Supports the UIAnimatedImage to be resizable in AnimatedImage struct. Only filter the SDAnimatedImage cases 2020-03-29 12:47:44 +08:00
DreamPiggy ba1b36406d Update to use the aspectRatio modifier instead of empty modifier, which makes it match SwiftUI.Image in attribute graph (no extra empty attr) 2020-03-29 12:43:57 +08:00
DreamPiggy 8984320cb6 Released v1.1.0 version 2020-03-24 20:11:01 +08:00
DreamPiggy ddd64100c7
Merge pull request #86 from SDWebImage/feature_public_image_manager
Make the ImageManager public, which is useful for custom View who need to bind the data source
2020-03-24 20:06:58 +08:00
DreamPiggy 72c7c8d693 Change the API of completionHandler for ImageManager, without return value. Add test cases 2020-03-24 18:50:06 +08:00
DreamPiggy 80bc832504 Update the README and CHANGELOG 2020-03-24 17:38:59 +08:00
DreamPiggy 7373b50154 Update the readme about the imageManager usage for custom view type 2020-03-24 17:28:56 +08:00
DreamPiggy 88e4deab48 Make the ImageManager obseable 2020-03-24 17:14:20 +08:00
DreamPiggy 3d43d8ba29 Update some readme about the usage and demo 2020-03-20 15:22:40 +08:00
DreamPiggy eaf9013625 Update the shields badges 2020-03-03 22:47:02 +08:00