Commit Graph

576 Commits

Author SHA1 Message Date
DreamPiggy b60924f6b8 Fix the API annotation of IndicatorViewModifier 2020-03-03 22:29:07 +08:00
DreamPiggy 6e99733eb7 Add the CHANGELOG.md 2020-03-03 21:57:38 +08:00
DreamPiggy ca22dc45a6
Merge pull request #84 from SDWebImage/support_indicator_modifier_animated_image
Support indicator modifier animated image
2020-03-03 21:39:20 +08:00
DreamPiggy e47153c65b Add the readme about the AnimatedImage's API which share the same naming as SwiftUI View 2020-03-03 21:27:22 +08:00
DreamPiggy 547378465f Adopt the AnimatedImage with Indicator view modifier 2020-03-03 21:06:00 +08:00
DreamPiggy be8e2c944f
Merge pull request #83 from SDWebImage/release_1.0
Release 1.0
2020-03-03 20:13:12 +08:00
DreamPiggy 202174df75 Fix the unit test compile issue 2020-03-03 19:46:54 +08:00
DreamPiggy 04e7af0e5b Fix the watchOS Example compile issue 2020-03-03 19:01:24 +08:00
DreamPiggy 60f353180d The indicator's progress arg, now become Double instead of CGFloat, because its limited to [0, 1] 2020-03-03 19:00:33 +08:00
DreamPiggy 077e8b52c3 Bumped the version to 1.0.0 2020-03-03 18:49:34 +08:00
DreamPiggy e7e85d8930 Do not add BUILD_LIBRARY_FOR_DISTRIBUTION for test target 2020-03-03 18:49:15 +08:00
DreamPiggy 55a99b08aa Update the Example with the latest dependency 2020-03-03 18:35:54 +08:00
DreamPiggy 61171651b2 Update the readme with the information matches the v1.0.0 release. Previous 0.x related behavior are removed 2020-03-03 18:23:28 +08:00
DreamPiggy b32d3ca8f1 Released v1.0.0-beta3 version 2020-02-25 18:47:05 +08:00
DreamPiggy 547cb28a79
Merge pull request #82 from SDWebImage/update_example
Update the Example with tvOS, now it supports zooming and edit mode to delete image cells
2020-02-25 18:21:47 +08:00
DreamPiggy fccd4d42a6 Update the Example with tvOS, now it supports zooming and edit mode to delete image cells 2020-02-25 18:19:45 +08:00
DreamPiggy 289e0bdcf5 Remove thte unused helper code in Example 2020-02-25 17:23:23 +08:00
DreamPiggy 465e5fc3a1 Ignore the Cartfile.resovled 2020-02-25 14:59:16 +08:00
DreamPiggy 34360f4a78
Merge pull request #81 from SDWebImage/hack_animated_image_resizable_behavior
Fix AnimatedImage resizable behavior, now `resizable` is required to make it resizable, or it will preserve image pixel size
2020-02-25 11:07:15 +08:00
DreamPiggy 03b6e5d63e Update the readme about the behavior changes on `resizable` 2020-02-25 10:53:32 +08:00
DreamPiggy 8979158b38 Fix the compile issue on macOS 2020-02-25 10:37:11 +08:00
DreamPiggy 608b861f6e Fix the behavior again, check the resizable to return super or custom implementation 2020-02-24 22:58:31 +08:00
DreamPiggy 2ad8897bae Match the behavior when using resizable on AnimatedImage 2020-02-24 22:19:19 +08:00
DreamPiggy 3714545925 Fix the behavior when user does not call any `.frame` limit, the AnimatedImage with URL should use the image pixel size as view size, not current default tableView cell size 2020-02-24 21:32:03 +08:00
DreamPiggy 9faad75786 Update the SwiftPM part about how to use pre-release version and complete more details documentation 2020-02-07 17:57:35 +08:00
DreamPiggy 531286abde Disable the isAnimating check on Travis-CI test, because of bugs 2020-02-05 14:15:55 +08:00
DreamPiggy ae478b695f Fix test again by trying to use the large frame animated image, avoid animation stopped before changing binding value 2020-02-05 11:33:01 +08:00
DreamPiggy 7ae9429dc5 Update the test case which fix the compatible on macOS 10.14's simulator 2020-02-05 10:59:07 +08:00
DreamPiggy f193c612b1 Update the unit test to use the latest version of ViewInspector, which allows UIView/NSView inspection 2020-02-04 11:04:55 +08:00
DreamPiggy 53de385099 Update the test case `testAnimatedImageBinding` to correctly unit test the AniamtedImage's @Binding update, this time it works 2020-02-02 12:41:23 +08:00
DreamPiggy 4345bd4b5d Change to use the empty Image as static variable 2020-02-02 10:56:27 +08:00
DreamPiggy 963dac42e7 Released v1.0.0-beta2 version 2020-02-02 00:15:53 +08:00
DreamPiggy 7891347b18
Merge pull request #77 from SDWebImage/bugfix_onSuccess_when_memory_cache_hit
Fix the issue that WebImage's onSuccess does not get called when memory cache hit for new created View Struct
2020-02-02 00:10:26 +08:00
DreamPiggy f56c39aab2 Fix the test case compile issue on macOS 2020-02-01 18:18:52 +08:00
DreamPiggy 3363162b03 Added the test case `testWebImageOnSuccessWhenMemoryCacheHit` 2020-02-01 17:53:28 +08:00
DreamPiggy a2bcffe29f Fix the issue that WebImage's onSuccess does not get called when memory cache hit for new created View Struct 2020-02-01 17:52:57 +08:00
DreamPiggy 433698519a Mock the test case for AnimatedImage binding value update 2020-01-31 13:28:27 +08:00
DreamPiggy 4d35d16514
Merge pull request #75 from SDWebImage/bugfix_indicator_watchOS
Fix the issue when Indicator is hidden, which still preserve the layout on watchOS (have no issues on iOS/tvOS/macOS)
2020-01-30 12:35:15 +08:00
DreamPiggy 0cde522360 Update the Example to showing the capability to load PDF/SVG on tvOS/macOS/watchOS as well 2020-01-30 12:25:32 +08:00
DreamPiggy e46e21ba41 Fix the issue when Indicator is hidden, which still preserve the layout on watchOS (have no issues on iOS/tvOS/macOS) 2020-01-30 11:55:47 +08:00
DreamPiggy ee786bea91 Update the Example with watchOS's native indicator (thanks @JagCesar), simplify the code 2020-01-28 21:11:18 +08:00
DreamPiggy 65119ead92 Released v1.0.0-beta version 2020-01-28 19:22:52 +08:00
DreamPiggy 3ccd9968fe Update the test case about onViewCreate/onViewUpdate/onViewDestroy 2020-01-28 18:58:58 +08:00
DreamPiggy b94f3a514e Added Indicator and Transition test case 2020-01-28 18:49:41 +08:00
DreamPiggy b24d465bbc Update the readme about Unit Test and Thanks chapter 2020-01-28 11:50:36 +08:00
DreamPiggy 4ea0601659
Merge pull request #74 from SDWebImage/unit_test
Added Unit test and Code Coverage report for all platforms
2020-01-27 20:18:42 +08:00
DreamPiggy 19f79a1a84 Fix the test case again, disable macOS temporarily because of Travis-CI does not support 10.15 2020-01-27 19:19:50 +08:00
DreamPiggy 7c581c8575 Fix the Travis-CI script 2020-01-27 18:15:12 +08:00
DreamPiggy 36e792348b Added the Code Coverage report 2020-01-27 17:43:36 +08:00
DreamPiggy 325c187e9f Update the test case for WebImage static url loading 2020-01-27 17:34:53 +08:00