Commit Graph

8 Commits

Author SHA1 Message Date
DreamPiggy 7b5f7b88f4 Add the transition convenient API to simply usage, the transition now works as SwiftUI standard UI component, .fade transition is only fade in 2019-10-27 19:47:08 +08:00
DreamPiggy 40c5644569 Add activity indicator implementation as well, using UIProgressView/NSProgressIndicator 2019-10-25 22:55:19 +08:00
DreamPiggy 6a2eb0264a Add support for WebImage to use indicator. Using protocol and struct based solution, and with SwiftUI Binding for isAnimating and progress 2019-10-25 21:50:45 +08:00
DreamPiggy 7e21926830
Support AnimatedImage on watchOS - Using WatchKit bridge (#22)
* Temp for watchOS AnimatedImage support, using massive private API, still contains small issues

* Update the hack for wacthKit experienment, fix the retain cycle issue that cause WKInterfaceImage not dealloc

* Solve the merge conflict and try again

* Add support for contentMode

* Fix the SDAnimatedImageInterface first appear shows empty issues

* Fix the scale factor support for SDAniamtedImageInterface

* Fix the compile issue on other platforms

* Stop animtiong when dismantle for watchOS AnimatedImage

* Fix the issue that stopAnimating does not stop :)

* Fix the warning because of Apple's bug

* Use macro to integrate the watchOS Animation solution

* Refactory code to fix that calling sd_setImage(with:) multiple times issues

* Support to custom loop count on watchOS AnimatedImage

* Fix the CocoaPods issues which does not have umbrella headers

* Update some of the documentations

* Try to solve the SwiftPM issue because it does not support mixed Objective-C and Swift code, really suck, Apple :)

* Fix travis CI script to only build Carthage. Swift cli build can not works on Objective-C code import syntax, but works on Xcode
2019-10-22 01:09:57 +08:00
DreamPiggy 611ab6125e Support AnimatedImage with `aspectRatio`, `antialiased`, `interpolation`, `renderingMode` and `resizable` methods, some of them is not fully implemented 2019-10-01 14:34:11 +08:00
DreamPiggy 9f3a03ff1a Fix the Carthage compatible issue 2019-09-25 01:26:52 +08:00
DreamPiggy 15d4805a96 Update the licences description in source files 2019-08-09 17:17:08 +08:00
DreamPiggy 248515a2d6 Add the Xcode project to support Carthage. Fix the build issue on macOS/tvOS/watchOS 2019-08-09 15:58:21 +08:00