Commit Graph

39 Commits

Author SHA1 Message Date
Felix Mau 849ef3e945 ♻️ :: Directly access first row of color location matrix instead of having a separate observable
This way we can prevent `colorLocationMatrix` and `colorLocationInitialRow` running out of sync.
2021-10-02 13:43:52 +02:00
Felix Mau 64edf05816 ♻️ :: Use "global" swift configuration files and fix warnings 2020-12-20 13:45:50 +01:00
Felix Mau 2219b04c07 ♻️ :: calculate matrix only once per gradient colors 2019-12-01 12:18:23 +01:00
Felix Mau 212deaf8ef ♻️ :: use UIApplication.shared.windows.first { $0.isKeyWindow } instead of UIApplication.shared.keyWindow, as the property is deprecated in iOS 13 2019-12-01 12:17:07 +01:00
Felix Mau 3c784f49fc ♻️ :: rename method 2019-11-28 21:10:56 +01:00
Felix Mau 19c93a2563 ♻️ :: removed unused factory method in test-cases 2019-11-28 21:10:42 +01:00
Felix Mau 35d690a81d ♻️ :: Use Variable instead of delegate protocol 2019-11-28 18:22:20 +01:00
Felix Mau f66525739e ⬆️ :: update dependencies 2019-11-28 10:26:37 +01:00
Felix Mau 958fed98c4 ♻️ :: enhanced test case 2019-10-12 16:56:39 +02:00
Felix Mau 0180829180 🐛 :: fix view not animating if initially visible 2019-10-12 10:32:50 +02:00
Felix Mau 603f3cae0e ♻️ :: use basic import for LightweightObservable in test-case 2019-10-11 17:08:45 +02:00
Felix Mau 8a3e71b879 ♻️ :: Animate locations property instead of entire layer 2019-10-11 17:07:08 +02:00
Felix Mau eb9e7cd071 📝 :: Updated documentation / fix typos 2019-08-31 10:15:17 +02:00
Felix Mau a4e53b563d 🐛 :: fix false positive of swiftlint rule unnecessary_type 2019-08-31 10:14:20 +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 e9c1b41e6c ✏️ :: Fix camel case syntax 2019-08-30 10:39:53 +02:00
Felix Mau b3e1bb18e8 :: Adapt test-cases to changes from previous commit 2019-08-29 14:05:02 +02:00
Felix Mau 2fa48efc31 ♻️ :: Renamed AnimationState to ProgressAnimationState and adapted code accordingly 2019-08-28 15:36:20 +02:00
Felix Mau d8e82c0dfc ♻️ :: renamed infinteGradientColors to gradientLayerColors 2019-08-27 15:54:53 +02:00
Felix Mau 3104e9f235 :: Adapt test-cases to previous refactorings 2019-08-26 21:30:30 +02:00
Felix Mau 28a82bdaf7 :: Adapt test cases 2019-08-25 22:34:48 +02:00
Felix Mau c629c4bcac ♻️ :: Removed dependency Observable in favour of an own, more lightweight, implementation.
Furthermore this commit updates the dependencies `SwiftLint` and `SwiftFormat`
2019-02-11 21:06:49 +07:00
Felix Mau 7108b027d4 ♻️ :: Added target GradientLoadingBar_Tests to allowed file-headers and adapted comments accordingly 2018-12-23 13:48:40 +01:00
Felix Mau 6c5975e0ee :: Adapt / added test-cases 2018-12-23 10:46:40 +01:00
Felix Mau dc79ce663c ♻️ :: Added swiftlint - rules and fixed corresponding warnings 2018-12-22 16:40:41 +01:00
Felix Mau d378e002a0 ♻️ :: Update to Swift 4.2 2018-09-19 21:45:35 +02:00
Felix Mau ce27755af1 ♻️ :: Refactored code for fading in view 2018-09-19 21:43:17 +02:00
Felix Mau c07c5dd1c5 :: Adapt testcases for observables 2018-09-08 12:32:25 +02:00
Felix Mau 691e1305c5 🚸 :: Updated example application 2018-09-03 18:43:05 +02:00
Felix Mau f58bb062c4 * refactored project from MVVM with delegates to MVVM with observables 2018-08-19 10:41:08 +02:00
Felix Mau c3edaa0a0a * format code 2018-06-09 13:08:38 +02:00
Felix Mau 143ca017a1 * converted to swift 4.2 2018-06-09 10:25:16 +02:00
Felix Mau d3bb4820f2 format code 2018-04-14 14:26:14 +02:00
Felix Mau 5eafc07ced fix build by using longer variable name 2018-04-14 14:07:19 +02:00
Felix Mau 14b5bf5f6b * format code 2018-01-27 13:26:52 +01:00
Felix Mau 62d9da622b * cleanup 2018-01-17 15:29:18 +01:00
Felix Mau bc3afe23c3 * moved logic for adding gradient view to key window into view model 2018-01-15 09:31:54 +01:00
Felix Mau 0666953c85 * optimised test cases 2017-12-30 11:18:01 +01:00
Felix Mau cabc337b84 * refactor to mvvm 2017-12-28 12:08:38 +01:00