Skip to content

Commit

Permalink
Fix #327
Browse files Browse the repository at this point in the history
  • Loading branch information
andreamazz committed Oct 10, 2018
1 parent 2a14bc7 commit 1f4f29e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ override func viewWillAppear(_ animated: Bool) {
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];

[(ScrollingNavigationController *)self.navigationController followScrollView:self.tableView delay:50.0f];
[(ScrollingNavigationController *)self.navigationController followScrollView:self.tableView delay:0 scrollSpeedFactor:1 collapseDirection:NavigationBarCollapseDirectionScrollDown followers:nil];
}
```

Expand Down
2 changes: 1 addition & 1 deletion Source/ScrollingNavigationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import UIKit
Wraps a view that follows the navigation bar, providing the direction that the view should follow
*/
@objcMembers
open class NavigationBarFollower {
open class NavigationBarFollower: NSObject {
public weak var view: UIView?
public var direction = NavigationBarFollowerCollapseDirection.scrollUp

Expand Down

0 comments on commit 1f4f29e

Please sign in to comment.