Commit Graph

576 Commits

Author SHA1 Message Date
DreamPiggy d5c32e94c5 Add the Travic-CI script for unit testing 2020-01-27 17:10:06 +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
DreamPiggy 91f81c54fe Update the documentation about the WebImage animation support 2020-01-26 21:12:14 +08:00
DreamPiggy 6e5f180465
Merge pull request #72 from SDWebImage/api_webimage_animation
Using the isAnimating arg, instead of protocol extention method to control the `WebImage`'s animation supports
2020-01-26 21:03:02 +08:00
DreamPiggy fe54241aca Fix the example crash issue of ObjcClass, should check meta type but not instance type 2020-01-26 20:54:24 +08:00
DreamPiggy c92240b4af Disable the `WebImage` progressive animation support, which is complicated, use `AnimatedImage` instead 2020-01-26 20:54:24 +08:00
DreamPiggy f720881a25 Update to provide the advanced animated image API for `WebImage`, fix some API naming for 1.0.0 2020-01-26 20:54:24 +08:00
DreamPiggy 8d74623282 Using the isAnimating arg, instead of protocol extention method to control the `WebImage`'s animation supports. This allows the binding control for animation as well 2020-01-26 20:54:24 +08:00
DreamPiggy 7e92d42ee5 Bump version to 0.10.2 2020-01-26 20:16:02 +08:00
DreamPiggy ba0f350838
Merge pull request #73 from SDWebImage/bugfix_revert_empty_view
Revert the EmptyView usage when WebImage does not have placeholder
2020-01-26 20:14:58 +08:00
DreamPiggy f1fabb7e2b A little code garden for AnimatedImage 2020-01-26 20:14:43 +08:00
DreamPiggy 28696248fa Revert the EmptyView usage when WebImage does not have placeholder, the `EmptyView` does not respect .frame set from iOS 13.3 :), good Apple 2020-01-26 20:11:56 +08:00
DreamPiggy 67a5ae96ad Bump version to 0.10.1 2020-01-26 18:14:08 +08:00
DreamPiggy a416abe277
Merge pull request #71 from SDWebImage/feature_context_manager
Add support to pass the `.customManager` context option to custom SDWebImageManager instance
2020-01-26 16:55:41 +08:00
DreamPiggy f5e222dfc0 Add support to pass the `.customManager` context option to custom SDWebImageManager instance 2020-01-26 16:42:41 +08:00
DreamPiggy e59739b0e2 Update the readme to fix code sample 2019-12-06 22:55:17 +08:00
DreamPiggy a3f30bafdc Bump version to 0.10.0
Update readme
2019-12-06 22:44:35 +08:00
DreamPiggy 226759ed2c
Merge pull request #67 from SDWebImage/project_add_available_for_lower_firmware_version
Support backward deployment on iOS 12 with CocoaPods and Carthage
2019-12-06 22:36:40 +08:00
DreamPiggy f2cb9d04f1 Add the readme about backward deployment for CocoaPods and Carthage 2019-12-06 22:20:47 +08:00
DreamPiggy edae2e27a5 Add the weak linking for Xcode project (Carthage) 2019-12-06 21:31:41 +08:00
DreamPiggy 9976615510 Update Podspec with weak linking for SwiftUI, Combine 2019-12-06 18:00:21 +08:00
DreamPiggy 056cc69713 Use the BUILD_LIBRARY_FOR_DISTRIBUTION to generate swift interface instead of Swift module 2019-12-06 17:47:38 +08:00
DreamPiggy 9061beace3 Add all the available version check, allows for lower firmware deployment target version user 2019-12-04 18:40:31 +08:00
DreamPiggy 1582e80e41 Update the demo to use tooltip on macOS, showing the native view coordinate 2019-12-02 20:13:23 +08:00
DreamPiggy 16ce20bc19 Update readme about the view to choose 2019-11-30 02:53:09 +08:00
DreamPiggy b312686347 Bump version to 0.9.0
Update readme
2019-11-30 02:21:44 +08:00
DreamPiggy 0762f51785
Merge pull request #65 from SDWebImage/refactory_new_animated_image_watchOS
Drop WatchKit hack. Supports Native SwiftUI animated image, using SDAnimatedImagePlayer
2019-11-30 02:17:38 +08:00
DreamPiggy 411255b70e Update the readme about changes of WebImage and animated image from v0.9.0 2019-11-30 02:05:52 +08:00
DreamPiggy 33c11b1cf0 Refactory the pure SwiftUI AnimatedImage implementation, right in the WebImage view.
Support watchOS as well :) Good SwiftUI
2019-11-30 01:37:28 +08:00
DreamPiggy 58434833b3 Remove all the platform macro check in AnimatedImage.swift 2019-11-29 20:01:25 +08:00
DreamPiggy 36bc39acce Totally remove all previous Animated on watchOS implementation (which use WKInterfaceObject SPI) 2019-11-29 19:49:52 +08:00
DreamPiggy 0a176f4a03 Update the readme 2019-11-29 16:42:02 +08:00
DreamPiggy fab4ec4676 Bump version to 0.8.6 2019-11-23 11:23:15 +08:00
DreamPiggy 9be28d4b3d
Merge pull request #62 from SDWebImage/bugfix_animatedImage_refresh_change_url
Fix the issue that AnimatedImage can not refresh their url/name/data after first initializer
2019-11-22 15:23:03 +08:00
DreamPiggy b73ec57935 Fix the watchOS compile issue again 2019-11-22 14:22:50 +08:00
DreamPiggy 4b2c5042fa Fix the watchOS compile issue, put the associated object and web cache category into a standalone file 2019-11-22 12:34:20 +08:00
DreamPiggy 956be3619f Refactory the implementation of AnimatedImage, avoid extra generation of SDAnimatedImage, but also make it compatible with the @State changes from outside 2019-11-22 12:10:40 +08:00
DreamPiggy 1485f020ae Fix the sacle params, the default value is 1. 0 is automatically translate to 1 2019-11-21 15:19:30 +08:00
DreamPiggy e478865f97 Fix the issue that AnimatedImage can not refresh their url/name/data after first initializer. Uisng the same design as SwiftUI, which take a Single south of truth to refresh everytime when `updateView` is called 2019-11-21 14:44:16 +08:00
DreamPiggy 1ad3ef87d1 Fix typo in readme's demo code 2019-11-18 16:16:13 +08:00
DreamPiggy c1d572a5fe
Merge pull request #60 from SDWebImage/example_detail_scale_image
Example - Supports zoom-in in the detail page image
2019-11-17 02:17:54 +08:00
DreamPiggy ff7f74021e Implements the tvOS zoom using the play/pause button, update the readme 2019-11-17 01:48:22 +08:00
DreamPiggy d9ac91675b Support watchOS to use digital crown for the zooming image 2019-11-17 00:45:17 +08:00
DreamPiggy 5ca4965174 Example: add the pinch to zoom gesture on the detail page 2019-11-16 22:29:42 +08:00
DreamPiggy babb23ba11 Update the readme chapter of FAQ about NavigationLink as well, update the demo 2019-11-16 21:42:30 +08:00
DreamPiggy 72c604d4ce Update the readme chapter of FAQ 2019-11-16 17:57:03 +08:00
DreamPiggy a6f495a29c Add a FAQ-Common Problems for some common questions which don't need to explain over time and time 2019-11-16 17:53:29 +08:00
DreamPiggy 7f6f23f7d4 Bump version to 0.8.5 2019-11-16 16:00:34 +08:00
DreamPiggy ae1809b1c5
Merge pull request #59 from SDWebImage/api_fix
Fix the placeholder API viewBuilder args to match the documentation
2019-11-16 15:57:11 +08:00