mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-06-16 12:24:31 +00:00
📝 :: Updated documentation
This commit is contained in:
@@ -13,10 +13,9 @@ import Observable
|
||||
class GradientLoadingBarViewModel {
|
||||
// MARK: - Types
|
||||
|
||||
/// This struct contains all infomation that are required for an animated visibility update
|
||||
/// of the loading bar.
|
||||
/// This struct contains all infomation that are required for an animated visibility update of the loading bar.
|
||||
struct AnimatedVisibilityUpdate: Equatable {
|
||||
/// Initialies the struct with values set to zero / hidden.
|
||||
/// Initialize the struct with values set to zero / hidden.
|
||||
static let immediatelyHidden = AnimatedVisibilityUpdate(duration: 0.0, isHidden: true)
|
||||
|
||||
/// The duration for the visibility update.
|
||||
@@ -44,7 +43,7 @@ class GradientLoadingBarViewModel {
|
||||
|
||||
private let superviewSubject: Observable<UIView?> = Observable(nil)
|
||||
|
||||
/// Configuration with durations for each animation.
|
||||
/// Configuration with durations for fade-in / fade-out animations.
|
||||
private let durations: Durations
|
||||
|
||||
// MARK: - Dependencies
|
||||
|
||||
Reference in New Issue
Block a user