Skip to content

Commit

Permalink
Minor whitespace fixes for consistency.
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha committed Jun 26, 2015
1 parent dcc00bc commit 07d5c2f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion PullToRefreshDemo/BeatAnimator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class BeatAnimator: PullToRefreshViewAnimator {

layerSeparator.lineWidth = 1
layerSeparator.strokeColor = UIColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1).CGColor

}

func startAnimation() {
Expand Down
2 changes: 1 addition & 1 deletion PullToRefreshDemo/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ class ViewController: UIViewController {
}

override func viewDidAppear(animated: Bool) {

super.viewDidAppear(animated)
// Test refreshing programatically
tableView.startPullToRefresh()

}

override func didReceiveMemoryWarning() {
Expand Down
1 change: 0 additions & 1 deletion Refresher/Animator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ class Animator: PullToRefreshViewAnimator {

layerSeparator.lineWidth = 1
layerSeparator.strokeColor = UIColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1).CGColor

}

func startAnimation() {
Expand Down
2 changes: 1 addition & 1 deletion Refresher/PullToRefreshView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public class PullToRefreshView: UIView {
UIView.animateWithDuration(0.3, delay: 0, options: nil, animations: {
scrollView.contentInset = insets
scrollView.contentOffset = CGPointMake(scrollView.contentOffset.x, -insets.top)
}, completion: {finished in
}, completion: { finished in
self.animator.startAnimation()
self.action()
})
Expand Down

0 comments on commit 07d5c2f

Please sign in to comment.