Commit Graph

33 Commits

Author SHA1 Message Date
DreamPiggy fbfd18664c Update the github-ci with visionOS 2024-03-09 23:16:41 +08:00
DreamPiggy 6bd9811577 Fix the Unit test again because of ViewInspector version 2023-11-29 19:02:41 +08:00
DreamPiggy a94221fba0 Update the API of AnimatedImage as well
1. Change the placeholder into Web URL init method (placeholder not works for data/bundle init method)
2. Add convenient .progress/.activity syntax for AnimatedImage indicator
2023-09-21 21:43:47 +08:00
DreamPiggy 84e792704b Removed the unused IndicatorTests 2022-12-26 19:28:22 +08:00
DreamPiggy 657c64af7a Update the test case 2022-09-23 21:00:07 +08:00
DreamPiggy 5a5690e2dc Fix the test case project 2022-09-22 16:09:46 +08:00
DreamPiggy e1c32aea7d Fix iOS 13 compatibility
Revert back the onPlatformAppear to fix iOS 14+ behavior
Use backport for all OSs
2022-09-21 20:14:30 +08:00
DreamPiggy ac0e73b1f8 Update ViewInspector to 0.9.1 2022-09-15 17:18:43 +08:00
DreamPiggy f6074c2e5d Update the test case for the CGImage based 2021-03-10 17:10:08 +08:00
DreamPiggy 78a2769b06 Fix the test case `testWebImageEXIFImage` 2021-02-24 17:28:25 +08:00
DreamPiggy 087eac626e Update the test case about API changes 2021-02-23 16:20:22 +08:00
DreamPiggy 7f8a06588f Update the test case 2021-02-22 19:41:54 +08:00
DreamPiggy fdd36a0566 Fix the macOS test case 2020-05-12 19:49:56 +08:00
DreamPiggy f36440f508 Update the test case about the new image data arg 2020-05-06 23:19:28 +08:00
DreamPiggy 1b23e14577 Only apply the patch for EXIF 5-8 images, not including 1-4 images, I think this should be fixed by SwiftUI team :) 2020-04-15 19:18:19 +08:00
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 1e1ddccc1a Update the test cases and readme about AnimatedImage 2020-04-05 14:25:27 +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 202174df75 Fix the unit test compile issue 2020-03-03 19:46:54 +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 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 433698519a Mock the test case for AnimatedImage binding value update 2020-01-31 13:28:27 +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 325c187e9f Update the test case for WebImage static url loading 2020-01-27 17:34:53 +08:00
DreamPiggy 65c48938c1 Fix the macOS support issue, using the folked Introspect for AppKit support 2020-01-27 16:54:39 +08:00
DreamPiggy 1bf9417ab6 Add the Unit Test for AnimatedImage and WebImage, by using ViewInspector and Introspect 2020-01-27 14:55:58 +08:00