Giter Site home page Giter Site logo

hpparallaxheader's People

Contributors

bsv-hienpham1991 avatar ngochiencse avatar ryu0118 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hpparallaxheader's Issues

[Feature] I want to access scrollView or contentOffset

It can't access scrollView

extension HeaderViewController: HPParallaxHeaderDelegate {
    func parallaxHeaderDidScroll(_ parallaxHeader: HPParallaxHeader) {
        // can't access scrollView
        if let scrollView = parallaxHeader.scrollView {
            trackingOffset(scrollView)
        }
}
'scrollView' is inaccessible due to 'internal' protection level

[Request] Header background color option

final class MyContainerViewController: HPScrollViewController {    
    override var preferredStatusBarStyle : UIStatusBarStyle {
        return UIStatusBarStyle.lightContent
    }


    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)

        if #available(iOS 13.0, *) {
            let appearance = UINavigationBarAppearance()
            appearance.configureWithTransparentBackground()
            appearance.titleTextAttributes = [.foregroundColor: UIColor.white]
            appearance.backgroundColor = UIColor(red: 0.0/255.0, green: 123.0/255.0, blue: 187.0/255.0, alpha: 1.0)
         
            navigationController?.navigationBar.scrollEdgeAppearance = appearance
            navigationController?.navigationBar.standardAppearance = appearance
        }
    }

it can't mack white header under clock.
Or I want the option for it.

[BUG] delegate parallaxHeaderDidScroll is called before scrolling

parallaxHeaderDidScroll method return strange values even before my scrolling.(when initialized?)

func parallaxHeaderDidScroll(_ parallaxHeader: HPParallaxHeader) {
    var progress = parallaxHeader.progress
    print(progress)
}

In the first loaded view controller.

it logged 1, 0 before scrolling.

Swift Package Manger Issue

When installing it shows an error:

because HPParallaxHeader >=1.1.5 contains incompatible tools version and root depends on HPParallaxHeader 1.1.7..<2.0.0, version solving failed

Any tip to resolve this?

Screen Shot 2022-03-04 at 14 16 57

ParallaxHeaderMode(bottom) Layout Issue

Hi,

Thanks for changing MXParallaxHeader to Swift.

I found a problem with ParallaxHeaderMode (bottom).

  • HPParallaxHeader

스크린샷 2021-07-02 오후 1 59 48

  • MXParallaxHeader

스크린샷 2021-07-02 오후 2 00 07

HPParallaxHeader is a topAnchor, but MXParallaxHeader is a bottomAnchor.

I hope this will be a quick fix.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.