Skip to content

Commit

Permalink
Fix for version 4.3.0
Browse files Browse the repository at this point in the history
Make FadeInAnimation and FadeOutAnimation available to NVActivityIndicatorViewAppExtension target
  • Loading branch information
ninjaprox committed Jul 7, 2018
1 parent 4ff51e8 commit 84e9ae2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions Source/NVActivityIndicatorView/NVActivityIndicatorView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,14 @@ public enum NVActivityIndicatorType: Int {
}
}

/// Function that performs fade in/out animation.
public typealias FadeInAnimation = (UIView) -> Void

/// Function that performs fade out animation.
///
/// - Note: Must call the second parameter on the animation completion.
public typealias FadeOutAnimation = (UIView, @escaping () -> Void) -> Void

// swiftlint:disable file_length
/// Activity indicator view with nice animations
public final class NVActivityIndicatorView: UIView {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,6 @@ private struct NVActivityIndicatorPresenterStateStopped: NVActivityIndicatorPres
}
}

/// Function that performs fade in/out animation.
public typealias FadeInAnimation = (UIView) -> Void

/// Function that performs fade out animation.
///
/// - Note: Must call the second parameter on the animation completion.
public typealias FadeOutAnimation = (UIView, @escaping () -> Void) -> Void

/// Presenter that displays NVActivityIndicatorView as UI blocker.
public final class NVActivityIndicatorPresenter {
fileprivate enum State: NVActivityIndicatorPresenterState {
Expand Down

0 comments on commit 84e9ae2

Please sign in to comment.