📝 :: Updated documentation

This commit is contained in:
Felix Mau
2018-12-23 10:17:31 +01:00
parent 5680ca8d9d
commit 1db2fbaf2f
@@ -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