Commit Graph

  • 03982673ca Simplify the type declaration DreamPiggy 2019-11-02 16:27:38 +0800
  • f10bfa7777 Update the code documentation for AnimatedImage DreamPiggy 2019-11-02 16:24:43 +0800
  • 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 DreamPiggy 2019-11-02 16:22:14 +0800
  • fb7d3919b4 Rmove the unused cross-platforms alias DreamPiggy 2019-11-02 16:11:01 +0800
  • bbf6d591eb
    Merge pull request #40 from SDWebImage/refactory_placeholder DreamPiggy 2019-11-02 14:19:42 +0800
  • 9dcc697a16 Update the demo for placeholder comments DreamPiggy 2019-11-02 14:12:20 +0800
  • 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) DreamPiggy 2019-11-02 13:12:43 +0800
  • df96e832b8 Add `retryOnAppear` and `cancelOnDisappear` behavior control DreamPiggy 2019-11-02 12:47:28 +0800
  • 8f2054ee20 Change the AnimatedImage AnyView into Group, seems this is more performent DreamPiggy 2019-11-02 12:40:47 +0800
  • 9cdd592c03 Refactory placeholder arg with a view modifier API, make it more suitable for common usage DreamPiggy 2019-11-02 12:33:27 +0800
  • aebd140067 Bump version to 0.6.5 DreamPiggy 2019-11-02 12:00:02 +0800
  • d1acfc5c55
    Merge pull request #39 from SDWebImage/fix_quick_scroll_webimage_cpu_usage DreamPiggy 2019-11-02 11:49:07 +0800
  • df60030490 Add comments about imageManager status, since it's complicated now DreamPiggy 2019-11-02 11:38:41 +0800
  • 4b8d5cd8b6 Fix the issue when quick scroll, WebImage indicator will cause huge CPU usage because of recusive call. Ignore the onDisappear use cancel code DreamPiggy 2019-11-02 11:38:06 +0800
  • 46c841af3b Update some demo operation tips DreamPiggy 2019-11-02 05:49:01 +0800
  • 2213df5ea8 Update the readme about latest version DreamPiggy 2019-11-02 05:41:49 +0800
  • b8e8226d14 Update readme about usage DreamPiggy 2019-11-02 05:37:35 +0800
  • 4097d566a9 Revert "Fix the indicator will create multiple times, only create once with binding" DreamPiggy 2019-11-02 05:29:18 +0800
  • a229aa6397
    Merge pull request #38 from SDWebImage/bugfix_webImage_incremental DreamPiggy 2019-11-02 05:26:37 +0800
  • a5c8082b79 Fix the issue that WebImage will stop download after first progressive loading image loaded DreamPiggy 2019-11-02 05:17:05 +0800
  • 44beb17703 Bump version to 0.6.4 DreamPiggy 2019-11-02 04:26:17 +0800
  • e286ad5b01
    Merge pull request #37 from SDWebImage/fix_indicator_create_multiple_times DreamPiggy 2019-11-02 04:25:32 +0800
  • a00e9cbe91 Update demo, add one SwiftUI activity indicator for watchOS DreamPiggy 2019-11-02 04:21:48 +0800
  • 1acafa9131 Fix Indicator logic, no longer populate when is not loading (such as error) DreamPiggy 2019-11-02 04:18:51 +0800
  • 417f0fd6a5 Fix the indicator will create multiple times, only create once with binding DreamPiggy 2019-11-02 03:05:27 +0800
  • 06ef24dd97
    Update README.md DreamPiggy 2019-11-01 12:40:21 +0800
  • 079212549e Update the readme about sem-version DreamPiggy 2019-11-01 03:58:28 +0800
  • 0fb5672c07 Update the readme with Features chapter DreamPiggy 2019-11-01 03:54:12 +0800
  • b5d775f15e Using the hack on watchOS to fix the issue when aspect fit with nil value, this need SwiftUI to provide public API DreamPiggy 2019-10-30 03:54:47 +0800
  • 3017ca7968 Bump version to 0.6.3 DreamPiggy 2019-10-30 02:11:17 +0800
  • d7e80bca2b Update the comments about `.scaleProportionallyUpOrDown` on macOS DreamPiggy 2019-10-30 02:10:48 +0800
  • 2d07004d13
    Merge pull request #36 from SDWebImage/bugfix_AnimatedImage_aspect_fix_final DreamPiggy 2019-10-30 01:59:44 +0800
  • 149f265738 Using the intrinsicContentSize on wrapper container, try to fix the aspect ratio sizing issue, hope this is the final change DreamPiggy 2019-10-30 01:56:00 +0800
  • 3ea6e12389 Update the readme with some typo fix and code sample DreamPiggy 2019-10-29 21:24:20 +0800
  • ee7445afd7 Update the readme with more structure, add one `Which View to choose` chapter DreamPiggy 2019-10-29 21:08:59 +0800
  • 3994022447 Bump version to 0.6.2 DreamPiggy 2019-10-29 15:30:02 +0800
  • e50a326258
    Merge pull request #35 from SDWebImage/fix_animated_image_scale_logic DreamPiggy 2019-10-29 15:26:12 +0800
  • 25daa2d0f0 Update the macOS Example to use Sidebar style but not default style, which default size more correctly DreamPiggy 2019-10-29 14:57:48 +0800
  • 70f161dade Seperate the aspect ratio override method implementation with others, since it return some View but not AnimatedImage DreamPiggy 2019-10-29 06:42:02 +0800
  • f7986ada33 Re-implements the AnimatedImage scale mode using the correct logic compared with SwiftUI.Image DreamPiggy 2019-10-29 05:39:51 +0800
  • 27e8288d1b Bump version to 0.6.1 DreamPiggy 2019-10-28 18:48:04 +0800
  • 4929f3004a
    Merge pull request #34 from SDWebImage/fix_animatedImage_aspect_ratio DreamPiggy 2019-10-28 18:40:04 +0800
  • 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) DreamPiggy 2019-10-28 18:31:52 +0800
  • bd635fdc2f Implements the AnimatedImage's aspectRatio method, which match the SwiftUI.Image behavior. DreamPiggy 2019-10-28 17:36:55 +0800
  • a2f0b2dc44
    Merge pull request #33 from SDWebImage/improvement_view_modifier DreamPiggy 2019-10-28 14:22:09 +0800
  • 14bb4be6a8 The progress indicator bar style is only available on iOS DreamPiggy 2019-10-28 13:04:47 +0800
  • a6a6d58073 Use View Modifier instead of new view type for indicator, simplify the code DreamPiggy 2019-10-28 13:04:18 +0800
  • 98ffc78043 Bump version to 0.6.0 DreamPiggy 2019-10-27 20:20:53 +0800
  • cc2981732b Update the example on watchOS, to use fade transition DreamPiggy 2019-10-27 20:19:52 +0800
  • 85a648fb43
    Merge pull request #32 from SDWebImage/feature_convenient_transition_API DreamPiggy 2019-10-27 20:13:46 +0800
  • 634f8a8e07 Update the readme with different indicator and transition API for WebImage/AnimatedImage DreamPiggy 2019-10-27 19:46:40 +0800
  • 7b5f7b88f4 Add the transition convenient API to simply usage, the transition now works as SwiftUI standard UI component, .fade transition is only fade in DreamPiggy 2019-10-27 19:40:02 +0800
  • b62cf93d8b
    Merge pull request #31 from SDWebImage/feature_convenient_indicator_API DreamPiggy 2019-10-27 17:28:31 +0800
  • 25304b6663 Fix the progerss indicator width on macOS. After we use the new solution for indicator DreamPiggy 2019-10-27 17:01:49 +0800
  • 697dc8b2bb Update the readme with indicator code DreamPiggy 2019-10-27 16:36:22 +0800
  • ab6d78a407 Using the SwiftUI view modifer design pattern, to re-create indicator API. Now it will rerturn some View instead of WebImage DreamPiggy 2019-10-27 16:16:29 +0800
  • fa6907fe1f Add one convenient method on WebImage to associated indicator with view builder block DreamPiggy 2019-10-27 14:42:07 +0800
  • bd6a9a9bf0
    Merge pull request #30 from SDWebImage/bufix_animated_image_macOS DreamPiggy 2019-10-27 05:05:23 +0800
  • 01c68e1b18 Fix that AnimatedImage on macOS can not restart animation after first stop, because there are always a new set image method call DreamPiggy 2019-10-27 04:37:53 +0800
  • 51f3595c8f Bump version to 0.5.2 DreamPiggy 2019-10-27 03:45:36 +0800
  • ad47b58a1a cancel image load if there are pending url request on AnimatedImage DreamPiggy 2019-10-27 03:41:11 +0800
  • 7d4030a1e4
    Merge pull request #29 from SDWebImage/bugfix_watchOS_animatedimage_stop_when_disappear DreamPiggy 2019-10-27 03:04:52 +0800
  • 5582b337e2 Fix the issue that on watchOS, AnimatedImage animating control does not take effect issue DreamPiggy 2019-10-27 02:51:19 +0800
  • 281e5420b9 Fix the issue that on watchOS, AnimatedImage when disappear, the CGImage decoding and animation does not stop issue. Increase performance DreamPiggy 2019-10-27 02:48:54 +0800
  • d9c1bebf52 Bump version to 0.5.1 DreamPiggy 2019-10-26 17:47:34 +0800
  • 3d41a65555
    Merge pull request #28 from SDWebImage/feature_indicator_convenience DreamPiggy 2019-10-26 17:46:39 +0800
  • 82fa9baa1f Add style and convenience methods for activity indicator and progress indicator DreamPiggy 2019-10-26 16:27:33 +0800
  • cf1721d988 Change the indicator method to access optionall value DreamPiggy 2019-10-26 15:51:04 +0800
  • d89ccbba50 Bump version to 0.5.0 DreamPiggy 2019-10-26 05:11:17 +0800
  • 742d36adae Fix the issues when using progress indicator, the width is always the image size but not its intrinsicContentSize DreamPiggy 2019-10-26 05:08:01 +0800
  • f09878b53c
    Merge pull request #27 from SDWebImage/feature_animated_image_view_event DreamPiggy 2019-10-26 05:00:56 +0800
  • 0bd0006c66 Fix the bug that cause tvOS compile issues DreamPiggy 2019-10-26 04:45:16 +0800
  • 22d5973ce5 Update the readme about coordinator DreamPiggy 2019-10-26 04:42:53 +0800
  • b841326bd7 Add support for advacend usage to get the native UIView/NSView life cycle for AnimatedImage DreamPiggy 2019-10-26 04:39:52 +0800
  • 6dc000275d
    Merge pull request #26 from SDWebImage/feature_indicator_transition DreamPiggy 2019-10-26 04:36:30 +0800
  • 63b6da1d5e Changing the indicator API to use the dot syntax, instead of that closure syntax, which is more convenient and swifty DreamPiggy 2019-10-26 04:26:07 +0800
  • 896627d381 Update the readme with indicator and transition DreamPiggy 2019-10-26 03:47:28 +0800
  • 5bcdaf697d Fix the issue when image load success, some bad-written indicator will still exist. Now we remove all the view when finished. Fix the example DreamPiggy 2019-10-26 01:26:47 +0800
  • 057eb272d2 Add gitignore to that Podfile.lock DreamPiggy 2019-10-26 00:26:03 +0800
  • 59d233d6b1 Try to workaround Apple Watch's issues about that runtime warning, other platform does not have this issue DreamPiggy 2019-10-26 00:12:59 +0800
  • 47fc670e96 Fix the watchOS platform compile issues DreamPiggy 2019-10-25 23:59:55 +0800
  • 40c5644569 Add activity indicator implementation as well, using UIProgressView/NSProgressIndicator DreamPiggy 2019-10-25 22:55:19 +0800
  • 6a2eb0264a Add support for WebImage to use indicator. Using protocol and struct based solution, and with SwiftUI Binding for isAnimating and progress DreamPiggy 2019-10-25 21:48:03 +0800
  • cbe282b69c Add support for AnimatedImage to load indicator and transition, by using SDWebImage's already supported features DreamPiggy 2019-10-25 14:54:09 +0800
  • c99f5c6474 Bump version to 0.4.2 DreamPiggy 2019-10-24 12:40:46 +0800
  • ee8ccc3840
    Merge pull request #24 from SDWebImage/performance_avoid_multiple_query DreamPiggy 2019-10-24 12:39:38 +0800
  • cbf42786f6 Don't need to setNeedsDisplay on SwiftUI representable, because SwfitUI will do this automatically DreamPiggy 2019-10-24 12:28:01 +0800
  • 4c456e1850 Check the current operation and avoid extra query, this can increase performance, even SDWebImage does not query multiple times DreamPiggy 2019-10-24 12:26:55 +0800
  • 4cf3d42f95 Update the reamde about the project description DreamPiggy 2019-10-24 01:07:11 +0800
  • 3a0995b791 Update the readme demo code to use swifty syntax DreamPiggy 2019-10-24 00:44:19 +0800
  • 2b1ac930c9 Bump version to 0.4.1 DreamPiggy 2019-10-22 23:22:29 +0800
  • 806e608599
    Merge pull request #23 from SDWebImage/fix_placeholder_edit_mode DreamPiggy 2019-10-22 23:16:49 +0800
  • 51627e9ac9 Fix issue when using placeholder and entering edit mode, the web url does not get requested DreamPiggy 2019-10-22 22:50:35 +0800
  • 2f70ff7b69 Bump version to 0.4.0 DreamPiggy 2019-10-22 01:28:17 +0800
  • b8a1290248 Update the readme about AnimatedImage on watchOS DreamPiggy 2019-10-22 01:25:29 +0800
  • 7e21926830
    Support AnimatedImage on watchOS - Using WatchKit bridge (#22) DreamPiggy 2019-10-22 01:09:57 +0800
  • f056456f15 Bump version to 0.3.3 DreamPiggy 2019-10-20 16:23:25 +0800
  • 29c3049122
    Merge pull request #21 from SDWebImage/fix_animated_image_potential_leak DreamPiggy 2019-10-20 16:21:09 +0800
  • 96e64d602d Try to stop animating when dismantle UIViewRepresentable, fix the potential leak (bug ?) for AnmatedImage DreamPiggy 2019-10-20 16:02:52 +0800
  • 944388f7a1 Update the readme about AnimatedImage and watchOS DreamPiggy 2019-10-19 22:47:10 +0800