Skip to content

Commit

Permalink
Bump to version 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andreamazz committed Dec 22, 2017
1 parent 1bbf15e commit 8a3c91c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion AMScrollingNavbar.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "AMScrollingNavbar"
s.version = "4.2.0"
s.version = "4.2.1"
s.summary = "A custom UINavigationController that enables the scrolling of the navigation bar alongside the scrolling of an observed content view"
s.description = <<-DESC
A custom UINavigationController that enables the scrolling of the
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
All notable changes to this project will be documented in this file.
`AMScrollingNavbar` adheres to [Semantic Versioning](http://semver.org/).

- `4.2.x` Releases - [4.2.0](#420)
- `4.2.x` Releases - [4.2.0](#420) | [4.2.1](#421)
- `4.1.x` Releases - [4.1.0](#410)
- `4.0.x` Releases - [4.0.0](#400) | [4.0.1](#401) | [4.0.2](#402) | [4.0.3](#403) | [4.0.4](#404) | [4.0.5](#405)
- `3.4.x` Releases - [3.4.0](#340) | [3.4.1](#341)
Expand All @@ -17,6 +17,10 @@ All notable changes to this project will be documented in this file.

---

## [4.2.1](https://github.com/andreamazz/AMScrollingNavbar/releases/tag/4.2.1)

- Fixed an issue with `UITableView`'s floating headers

## [4.2.0](https://github.com/andreamazz/AMScrollingNavbar/releases/tag/4.2.0)

Account for the notch when the status bar is hidden on iPhone X. See #295
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TableViewController: ScrollingNavigationViewController, UITableViewDelegat
toolbar.tintColor = .white
navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .add, target: nil, action: nil)
navigationController?.navigationBar.barTintColor = UIColor(red:0.91, green:0.3, blue:0.24, alpha:1)
navigationItem.searchController = UISearchController(searchResultsController: nil)
// navigationItem.searchController = UISearchController(searchResultsController: nil)
}

// Enable the navbar scrolling
Expand Down
2 changes: 1 addition & 1 deletion Source/ScrollingNavigationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ open class ScrollingNavigationController: UINavigationController, UIGestureRecog
}

delayDistance = maxDelay

UIView.animate(withDuration: duration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState, animations: {
self.updateSizing(delta)
self.updateFollowers(delta)
Expand Down

0 comments on commit 8a3c91c

Please sign in to comment.