Skip to content

Add support for child view controller's layout preferences. #365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2019
Merged

Add support for child view controller's layout preferences. #365

merged 1 commit into from
Jul 16, 2019

Conversation

evil159
Copy link

@evil159 evil159 commented Jul 10, 2019

Fix for #364

@@ -173,7 +173,16 @@ open class ScrollingNavigationController: UINavigationController, UIGestureRecog
var scrollSpeedFactor: CGFloat = 1
var collapseDirectionFactor: CGFloat = 1 // Used to determine the sign of content offset depending of collapse direction
var previousState: NavigationBarState = .expanded // Used to mark the state before the app goes in background


private var isTopViewControllerExtendsUnderNavigationBar: Bool {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identifier Name Violation: Variable name should be between 3 and 40 characters long: 'isTopViewControllerExtendsUnderNavigationBar' (identifier_name)

@andreamazz andreamazz merged commit 8ccfe57 into andreamazz:master Jul 16, 2019
@andreamazz
Copy link
Owner

Hey @evil159
Great addition, thank you for your contribution 👍

@evil159 evil159 deleted the view_controller_under_opaque_bar branch July 17, 2019 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants