50 Commits

Author SHA1 Message Date
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 f2c43cbe72 ♻️ :: update project for Xcode 11 and iOS 13 2019-10-11 17:09:24 +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 8ecf4c239d :: Validate isFinished flag in test case 2019-08-30 10:44:07 +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 3e80af4464 ♻️ :: Adapt folder structure in test target
As `GradientLoadingBar` is now the only feature (due to observable is extracted into a dependency), we don't need the folder `Feature` any more.
2019-06-08 14:51:48 +08:00
Felix Mau 2cae9aa051 Merge branch 'master' into feature/use-dependency-lightweight-observable
# Conflicts:
#	Example/GradientLoadingBar.xcodeproj/project.pbxproj
2019-06-08 14:24:48 +08:00
Felix Mau 68b528cf5f :: Added test cases for UIView extensions 2019-05-21 15:37:07 +08:00
Felix Mau be4830fdc0 ♻️ :: Remove own observable implementation in favour of LightweightObservable 2019-05-18 11:39:22 +08:00
Felix Mau 95acd323d9 :: Enhanced / Refactored test cases 2019-02-14 17:14:47 +07: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 f7dee25e45 ♻️ :: Remove unnecessary test-case (initializer is auto-generated) 2018-12-23 13:46:43 +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 9c14fba045 ♻️ :: Removed UIColor initializers, as they're not required for the project to work (and it's not very common to use hex color codes in iOS)
If you need them in your project, feel free to copy & paste to following file into you project: https://gist.github.com/fxm90/1350d27abf92af3be59aaa9eb72c9310
2018-09-22 15:22:20 +02: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 ed722cb70d * updated pods
* added `Observable` pod as dependency for `GradientLoadingBar`
2018-08-18 13:22:34 +02:00
Felix Mau c3edaa0a0a * format code 2018-06-09 13:08:38 +02:00
Felix Mau 6124ef18a8 * updated docs 2018-06-09 13:08:29 +02:00
Felix Mau 515a1ee85b * remove inappropriate test assertions 2018-06-09 13:08:23 +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 98a5d63881 * format tests 2018-01-27 13:38:34 +01:00
Felix Mau 14b5bf5f6b * format code 2018-01-27 13:26:52 +01:00
Felix Mau 5c43fc0a96 * optimize iphone x handling 2018-01-27 13:16:30 +01:00
Felix Mau 62d9da622b * cleanup 2018-01-17 15:29:18 +01:00
Felix Mau 7548765f4d * refactored uicolor initializer 2018-01-15 09:32:12 +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 7a442ad2bf * optimise layout for iPhoneX 2017-12-29 19:07:31 +01:00
Felix Mau cabc337b84 * refactor to mvvm 2017-12-28 12:08:38 +01:00
Felix Mau 901b7f55f6 * updated documentation 2017-10-30 14:34:39 +01:00
Felix Mau 115d04c0ec * allow subclassing "GradientLoadingBar" and setting custom constraints
* added superview property to allow adding loading bar to other views (e.g. buttons)
2017-10-04 09:22:50 +02:00
Felix Mau 2856df9364 * refactored project structure to match "pod lib create"
* added example
2017-10-01 12:25:42 +02:00