Skip to content

Instantly share code, notes, and snippets.

@bill350
Created April 1, 2018 21:39
Show Gist options
  • Save bill350/d7ee314ae64355cf47581d65439851b7 to your computer and use it in GitHub Desktop.
Save bill350/d7ee314ae64355cf47581d65439851b7 to your computer and use it in GitHub Desktop.
class ProgressView: UIView, NibLoadable {
// MARK: Properties
var animationDuration = 0.3
fileprivate(set) var isAnimating = false
// MARK: - Overrides
override func awakeFromNib() {
super.awakeFromNib()
self.configureView()
}
// MARK: - Private methods
private func configureView() {
self.alpha = 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment