Results 10 comments of Arash Etemad

Didn't help me! It doesn't work properly. Actually I call the `showNavbar` method in the action of `segmentValueChanged`.

I figured out what's the problem! If I want to scroll to the top without changing segment it works like charm, but if I want to update my table view...

Do you have any suggestions? Reloading should start exactly right after scroll did end scrolling, could we use `scrollViewDidEndScrollingAnimation`? I need to achieve this.

Thanks, But there is another question for me. How can I set that the toolbar should scroll first and after that it placed under navBar, the navBar starts to scroll?

As objective-c code change the `init` method to: ``` public init(image: UIImage? = nil) { super.init(nibName: nil, bundle: nil) presetImage = image } ```

@DavidHu0921 As you can see my code I did that as it's mentioned in the expansion section, but still crashes!

It crashes at: ``` func swipeController(_ controller: SwipeController, didDeleteSwipeableAt indexPath: IndexPath) { tableView?.deleteRows(at: [indexPath], with: .none) } ``` And the console log: ``` *** Terminating app due to uncaught exception...