All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
4.0.0 - 2026-01-31
- Complete rewrite using modern Swift features including the
Observationframework. Therefore the minimum required iOS version increased to iOS26.0and Swift6.2. - Reorganized project structure to follow Swift Package Manager conventions (
Sources/andTests/directories). - Rewrote example application using SwiftUI with improved feature demonstrations.
- Updated README with comprehensive documentation and new screenshots.
- Dropped support for CocoaPods. This follows CocoaPods' read-only trunk notice. Please migrate to Swift Package Manager.
- Dropped support for Carthage. Please migrate to Swift Package Manager.
- Removed legacy example project and Podfile infrastructure.
3.0.0 - 2022-07-10
- Use
Combineinstead of dependencyLightweightObservable. Therefore the minimum required iOS version increased to iOS13.0. Otherwise there are no breaking changes.
2.3.5 - 2022-12-09
- Fixed wrong minimum iOS deployment target when using Carthage.
2.3.4 - 2022-11-09
- Added missing
UIKitimport when using Swift Package Manager.
2.3.3 - 2022-08-09
- Added specific Bézier Path for
NotchGradientLoadingBarfor "iPhone 14" and "iPhone 14 Plus"
2.3.2 - 2022-08-09
- Improved Bézier Path of
NotchGradientLoadingBar - Adapt logic of
UIKitvariant for calculating and animating the gradient toSwiftUIvariant. This should not make any difference visually, but will be easier to maintain.
- Fixed incorrect layout on
NotchGradientLoadingBarwhen using "iPhone 12 Mini" or "iPhone 13 Mini"
2.3.1 - 2022-10-05
- Fixed incorrect layout on
NotchGradientLoadingBarwhen using "iPhone 11 Pro" or "iPhone 11 Pro Max" (#029)
2.3.0 - 2022-06-05
- Add
GradientLoadingBarViewto support SwiftUI
2.2.5 - 2022-27-03
- Fixed incorrect layout on
NotchGradientLoadingBarwhen using "iPhone 11"
2.2.4 - 2022-16-03
- Fixed incorrect layout on
NotchGradientLoadingBarwhen using "iPhone XR"
2.2.3 - 2021-29-12
- Fixed incorrect layout on
NotchGradientLoadingBarwhen using an increased height (#026, thanks to alinfarcas12)
2.2.2 - 2021-05-10
- Fixed missing
return(#025)
2.2.1 - 2021-05-10
- Fixed invalid import (#024)
2.2.0 - 2021-04-10
- Added support for iPhone 13 (#023)
2.1.1 - 2021-12-05
- Showing loading bar with a masked notch on iPad Pro 12.9 (#020)
2.1.0 - 2020-17-06
- Added
NotchGradientLoadingBar: A subclass ofGradientLoadingBar, wrapping theGradientActivityIndicatorViewaround the notch of the iPhone.
2.0.3 - 2020-18-01
- Added support for Swift Package Manager.
2.0.2 - 2019-20-12
- Use
windows.first(where: { $0.isKeyWindow })instead ofkeyWindowas this is deprecated in iOS 13
2.0.1 - 2019-12-10
- Refactorings (Optimized progress animation)
- Updated example application for iOS 13
2.0.0 - 2019-02-09
- Split framework into two classes:
- GradientLoadingBar: A controller, managing the visibility of the
GradientActivityIndicatorViewon the current key window. - GradientActivityIndicatorView: A
UIViewcontaining the gradient with the animation, with support for Interface Builder.
1.1.17 - 2019-30-06
- Extract observable implementation into a framework (
LightweightObservable) and added it as dependency.
1.1.16 - 2019-08-04
- Changed access control level for extensions to
internalto avoid conflicts- Added by Emil Bellmann in Pull Request #13.
- Added support for Swift 5.0
1.1.15 - 2019-14-02
- Remove dependency
Observablein favour of a more lightweight implementation - Small internal refactorings and cleanup
1.1.14 - 2018-20-12
- Fixed fade-out animation not working in iOS 12 (https://openradar.appspot.com/46753872)
1.1.13 - 2018-14-11
- Adapt code to support new version from dependency
Observable
1.1.12 - 2018-22-09
- Updates for Swift 4.2
- Refactored to observables
- Removed
UIColorinitializers, 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 the following file into your project: https://gist.github.com/fxm90/1350d27abf92af3be59aaa9eb72c9310
1.1.11 - 2018-04-06
- Carthage Support
1.1.10 - 2018-14-04
- Updates for Swift 4.1
- Formatted code
1.1.9 - 2018-27-01
- Formatted code
- Refactorings
1.1.8 - 2018-20-01
- Further documentation
- Further examples
- Refactorings (moved all logic into view model)
1.1.7 - 2017-12-30
- Adapt layout for iPhoneX
- Convert code to Swift 4
- Refactor code to MVVM
1.1.6 - 2017-10-30
- Allow setting a custom superview
- Documentation
1.1.5 - 2017-10-03
- Struct 'DefaultValues' is private and cannot be referenced from a default argument value (#001)
1.1.4 - 2017-10-01
- Refactored project structure to match "pod lib create" / TravisCI integration
- Added example project
1.1.3 - 2017-09-25
- Fixed never adding gradient view to "keyWindow" if it is not available on first call to "show()"
1.1.2 - 2017-08-27
- Basic tests / TravisCI integration
- Refactored extension for UIColor initializer
- Changelog
1.1.1 - 2017-08-18
- Fixed optical animation issue
- Fixed orientation change bug
- Refactor entire code
- Lint code
1.1.0 - 2017-02-28
- Allow changing gradient colors
1.0.0 - 2016-12-28
- Initial release