Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
Conflicts:

SYNProgressNavigationController/SYNProgressNavigationController/SYNProgr
essNavigationController.swift
  • Loading branch information
Sidhant Gandhi committed Jun 29, 2015
2 parents 51c1dbb + 492306a commit b30c000
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public class SYNProgressNavigationController: UINavigationController {

@objc
public required init(coder aDecoder: NSCoder) {

super.init(coder: aDecoder)

let width = UIScreen.mainScreen().bounds.width
Expand Down Expand Up @@ -47,14 +46,13 @@ public class SYNProgressNavigationController: UINavigationController {
fade({ self.progressBar.alpha = 1.0 })
progressBar.setProgress(progress.floatValue, animated: true)
} else {
fade({ self.progressBar.alpha = 0.0 })
fade { self.progressBar.alpha = 0.0 }
progressBar.setProgress(0.0, animated: true)
}
}

@objc
public func showMessage(message: String?) {

if let message = message {
messageLabel.text = message
fade({ self.messageLabel.alpha = 1.0 })
Expand Down

0 comments on commit b30c000

Please sign in to comment.