Commit Graph
239 Commits
Author SHA1 Message Date
Felix Mau 925aad6b9a 📝 :: Added type to parameters 2019-09-02 11:16:21 +02:00
Felix Mau a3e555032c ♻️ :: Use type CGFloat for height, as it is only used for the heightAnchor and so we can remove the casting from Double 2019-09-02 11:16:06 +02:00
Felix Mau 1fd4fcb38e ♻️ :: Use leadingAnchor and trailingAnchor instead of leftAnchor and rightAnchor, in order to (theoretically) support right-to-left layouts 2019-09-02 11:09:32 +02:00
Felix Mau 56b04a9d6e 📝 :: Update documentation 2019-09-02 11:08:40 +02:00
Felix Mau 7e6d866552 🎨 :: Format code
Use same string definition `'`
2019-08-31 10:23:59 +02:00
Felix Mau eb9e7cd071 📝 :: Updated documentation / fix typos 2019-08-31 10:15:17 +02:00
Felix Mau 2eaa8cb5bb ♻️ :: Added / sorted swiftlint rules 2019-08-31 10:14:57 +02:00
Felix Mau a4e53b563d 🐛 :: fix false positive of swiftlint rule unnecessary_type 2019-08-31 10:14:20 +02:00
Felix Mau d7014d4a57 ✏️ :: Fix typo
Renamed `programatically` to `programmatically`
2019-08-31 09:23:58 +02:00
Felix Mau 638a9e30c7 ♻️ :: Adapt to swiftlint version 0.34.0, by renaming unused_private_declaration to unused_declaration 2019-08-30 16:22:23 +02:00
Felix Mau 7621da5884 ♻️ :: Moved logic for removing the gradientView from its superview on deinit to view-model and provide tests 2019-08-30 15:10:11 +02:00
Felix Mau 8ecf4c239d ✅ :: Validate isFinished flag in test case 2019-08-30 10:44:07 +02:00
Felix Mau cc7c814d1d 📝 :: Updated documentation 2019-08-30 10:40:09 +02:00
Felix Mau e9c1b41e6c ✏️ :: Fix camel case syntax 2019-08-30 10:39:53 +02:00
Felix Mau 41cd9e3df1 ♻️ :: Prefer constant over variable 2019-08-30 10:10:58 +02:00
Felix Mau e257c743c6 ♻️ :: Updated example Appliction
Show two programatically added `GradientActivityIndicatorView`, one with custom colors.
2019-08-30 10:08:18 +02:00
Felix Mau e553a352aa 📝 :: Updated documentation for version 2.0.0 2019-08-30 09:11:20 +02:00
Felix Mau 3835f14c13 ♻️ :: Changed default value for height and adapted documentation 2019-08-29 15:44:00 +02:00
Felix Mau 2789681958 ✨ :: Allow changing the progress animation directly without accessing the GradientActivityIndicatorView first 2019-08-29 15:32:05 +02:00
Felix Mau 7481fb95f0 ♻️ :: Removed gradientColors from initializer and use a computed property instead.
As the gradient-colors are mutable after the initialization, it makes more sense to provide these as a computed property.
2019-08-29 15:31:20 +02:00
Felix Mau ea8c525708 🎨 :: Shorten code 2019-08-29 14:05:37 +02:00
Felix Mau b3e1bb18e8 ✅ :: Adapt test-cases to changes from previous commit 2019-08-29 14:05:02 +02:00
Felix Mau 5ca63c23d6 🐛 :: Handle edge case where the device is rotated while the animation is active.
Therefore I've moved all logic related for the frame calculation / animation calculation inside the view-model.
2019-08-29 14:04:43 +02:00
Felix Mau 94d08a8bd4 ♻️ :: Update documentation by using official /// - Note: pattern 2019-08-29 14:02:06 +02:00
Felix Mau d685227c9a ⬆️ :: update dependencies 2019-08-29 09:41:37 +02:00
Felix Mau 86ed469fcd ♻️ :: update example application 2019-08-28 17:48:40 +02:00
Felix Mau 679d3c93b7 ♻️ :: Use fadeOut method to hide view 2019-08-28 17:48:22 +02:00
Felix Mau dca6f11e54 📝 :: Added / Updated documentation 2019-08-28 15:36:45 +02:00
Felix Mau 2fa48efc31 ♻️ :: Renamed AnimationState to ProgressAnimationState and adapted code accordingly 2019-08-28 15:36:20 +02:00
Felix Mau 50cdcb8075 ✨ :: Add completion-handler to fadeIn and fadeOut 2019-08-28 15:33:54 +02:00
Felix Mau 218e9d5e80 ♻️ :: Added final modifier 2019-08-28 15:32:01 +02:00
Felix Mau d8e82c0dfc ♻️ :: renamed infinteGradientColors to gradientLayerColors 2019-08-27 15:54:53 +02:00
Felix Mau 0f0214eab6 ♻️ :: Updated twitter-url 2019-08-27 15:31:55 +02:00
Felix Mau 2776f69310 🎨 :: Format code 2019-08-26 21:36:13 +02:00
Felix Mau 3104e9f235 ✅ :: Adapt test-cases to previous refactorings 2019-08-26 21:30:30 +02:00
Felix Mau 6cebd6b7cd 🎨 :: Format code 2019-08-26 21:28:54 +02:00
Felix Mau c6edb24a3d 🐛 :: Fix setting wrong initial state 2019-08-26 21:28:38 +02:00
Felix Mau 437e2a42d4 🎨 :: Format code 2019-08-26 21:26:16 +02:00
Felix Mau 72baec3398 ♻️ :: Adapt calls to match new method names 2019-08-26 21:26:02 +02:00
Felix Mau cc1156e830 ♻️ :: Use view specific constants, as the extension is also view specific 2019-08-26 17:14:49 +02:00
Felix Mau 7ee1613747 ♻️ :: Removed simple fadeIn / fadeOut code from view-model 2019-08-26 17:14:26 +02:00
Felix Mau 30c3ae5a70 ♻️ :: Remove List postfix 2019-08-26 17:13:50 +02:00
Felix Mau dcbb4df26e ♻️ :: Moved logic from view to view-model 2019-08-26 17:13:32 +02:00
Felix Mau 15b5828aa5 📝 :: Updated docs 2019-08-26 17:11:56 +02:00
Felix Mau c484cdd1f6 ♻️ :: Moved all constants to a specific file 2019-08-26 11:36:57 +02:00
Felix Mau 1e1d3db048 ♻️ :: Fix file-header warning 2019-08-25 22:35:35 +02:00
Felix Mau 28a82bdaf7 ✅ :: Adapt test cases 2019-08-25 22:34:48 +02:00
Felix Mau 88cfdeb994 ♻️ :: Updated example application 2019-08-25 22:20:18 +02:00
Felix Mau c7fd4bfa35 ♻️ :: Refactored module 2019-08-25 22:19:42 +02:00
Felix Mau c88021a13e 🐛 :: Run pod install with fix for interface builder 2019-08-25 21:39:30 +02:00