Commit Graph

421 Commits

Author SHA1 Message Date
DreamPiggy e099dd7e4f Fix the issue that WatchKit patch will cause other WatchKit interface object with sizing issue 2019-11-14 02:39:59 +08:00
DreamPiggy 204d2b8cf9 Fix the typo in readme 2019-11-13 23:07:23 +08:00
DreamPiggy 67b82e61b7
Merge pull request #54 from SDWebImage/example_SVG_PDF
Add the example to use SVG and PDF vector image
2019-11-13 23:01:22 +08:00
DreamPiggy d5fc42ccea Add the example to use SVG and PDF vector image 2019-11-13 22:59:52 +08:00
DreamPiggy a6b8ba49e9
Merge pull request #53 from SDWebImage/documentation_generate
Complete all current API documentation and readme
2019-11-12 17:40:19 +08:00
DreamPiggy bab0072e8c Update the readme about documentation 2019-11-12 17:39:30 +08:00
DreamPiggy aa03216882 Update to polish the generated documentation 2019-11-12 17:30:17 +08:00
DreamPiggy 63c30596b0 Bump version to 0.8.3 2019-11-10 19:10:59 +08:00
DreamPiggy 1b5c0edc89 Update the readme with contribution 2019-11-10 19:10:50 +08:00
DreamPiggy 5985e0119e
Merge pull request #49 from SDWebImage/improve_empty_view
Little improvement to WebImage to use EmptyView instead of EmptyImage when no placeholder available
2019-11-10 18:32:25 +08:00
DreamPiggy bbdcd8db89 Update the demo and readme with new baseline JPEG images 2019-11-10 18:31:05 +08:00
DreamPiggy c31917a82c WebImage: Using emptyView instead of emptyImage when no placeholder 2019-11-10 18:01:04 +08:00
DreamPiggy 0b5908610a Bump version to 0.8.2
Update the podspec description
2019-11-10 06:37:01 +08:00
DreamPiggy fd40189c4e
Merge pull request #48 from SDWebImage/bugfix_animated_image_watchOS
Using the wrapper on watchOS AnimatedImage as well, try to solve the SwiftUI bug of aspectRatio
2019-11-10 06:19:29 +08:00
DreamPiggy 28dbd8e459 Invalide the invalidateIntrinsicContentSize to trigger update 2019-11-10 05:51:04 +08:00
DreamPiggy e01fa4047b Move the watchOS wrapper hack into another file, make it easy to distinguish from other code to maintain 2019-11-10 05:51:04 +08:00
DreamPiggy a2a54ec329 Using a new super evil hack solution on watchOS, solve the problem that aspectRatio does not works as expected.
This code by using the native UIView and logic by reverse engineering
2019-11-10 05:01:29 +08:00
DreamPiggy 996f65ea15 Fix the issue that AnimatedImage name and data initializer does not works 2019-11-10 04:17:32 +08:00
DreamPiggy 3ae64cfaf5 Bump version to 0.8.1 2019-11-09 17:18:00 +08:00
DreamPiggy e6d094b0b2
Merge pull request #47 from SDWebImage/feature_convenient_placeholder_webimage
Add the convenient method for WebImage to directly supply SwiftUI.Image for placeholder
2019-11-09 17:14:52 +08:00
DreamPiggy 2936510f70 Update the readme about the placeholder convenient API 2019-11-09 17:12:32 +08:00
DreamPiggy c9c35d0281 Add the convenient method for WebImage to directly supply SwiftUI.Image for placeholder 2019-11-09 17:05:07 +08:00
DreamPiggy 5029a88273 Fix the public API of AnimatedImage's image property 2019-11-09 16:22:29 +08:00
DreamPiggy bec32bc095 Ignore the Podfile.lock file 2019-11-09 16:08:08 +08:00
DreamPiggy 10820a82b6 Bump version to 0.8.0 2019-11-09 15:29:43 +08:00
DreamPiggy 9589a580d3
Merge pull request #46 from SDWebImage/feature_watchOS_player
Refactory the watchOS Animation solution using the SDAnimatedImagePlayer (~> 5.3.0)
2019-11-09 03:27:28 +08:00
DreamPiggy 05694748fd Change watchOS private content mode API with property syntax, better for Swift 2019-11-09 01:52:53 +08:00
DreamPiggy 2c9b0b8634 Remove the unused override of that `startAnimatingWithImagesInRange`, which does not work 2019-11-09 01:52:53 +08:00
DreamPiggy 30782193b5 Do not create extra scale image when edge insets is zero 2019-11-09 01:52:53 +08:00
DreamPiggy 0a95ff5260 Update the hack for watchOS AnimatedImage to compatible for watchOS 6.1 changes 2019-11-09 01:52:53 +08:00
DreamPiggy 847673d46b Name the clearBufferWhenStopped to purgeable 2019-11-09 01:02:49 +08:00
DreamPiggy f79cd4d8b3 Remove the hack to macOS on AnimatedImage 2019-11-09 01:02:49 +08:00
DreamPiggy 911f871ebf Change the image using @State instead of ObservedObject 2019-11-08 18:34:39 +08:00
DreamPiggy 09f2f74da8 Add the advanced control on SDAnimatedImageView/Player 2019-11-08 18:34:04 +08:00
DreamPiggy 3c9c30c282 Support runloopMode and playback rate on watchOS 2019-11-08 15:46:43 +08:00
DreamPiggy 225cbb1163 Using SDWebImage 5.3.0 player to implements the animation on watchOS 2019-11-08 15:41:07 +08:00
DreamPiggy 43c8cb55f8 Upgrade the dependency of SDWebImage to 5.3 2019-11-06 23:05:55 +08:00
DreamPiggy 2a5b0ef330 Bump version to 0.7.0 2019-11-02 19:19:48 +08:00
DreamPiggy e8bb254312
Merge pull request #42 from SDWebImage/fix_new_solution_for_indicator
Use the only ZStack one state for indicator, instead of removing that indicator view from hierarchy
2019-11-02 19:18:02 +08:00
DreamPiggy e7c6931707 Naming it as `isSuccess` to match what it check 2019-11-02 19:03:20 +08:00
DreamPiggy 57ed6ef5d1 Use the only ZStack one state for indicator, instead of removing that indicator view from hierarchy 2019-11-02 18:56:21 +08:00
DreamPiggy af4569f5cf Fix the refactory cause the indicator geometry size wrong. Should specify with border 2019-11-02 17:56:02 +08:00
DreamPiggy 061853f4aa Fix the currentOperation cancel may not clear the weak reference and cause issues (indicator check failed) 2019-11-02 17:14:26 +08:00
DreamPiggy d57fdbb37c
Merge pull request #41 from SDWebImage/refine_animated_image_api
Refine AnimatedImage Public APIs to make it more scalable
2019-11-02 17:11:46 +08:00
DreamPiggy 04fc21a08c Add the comments about how to use native view update helper 2019-11-02 16:47:44 +08:00
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