SkillAgentSearch skills...

ParallaxHeader

Custom parallax header for scrollView using gesture

Install / Use

/learn @traitanhong98/ParallaxHeader
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

HParallaxHeader

HParallaxHeader is a simple version from:

  • https://github.com/maxep/MXParallaxHeader
  • https://github.com/ngochiencse/HPParallaxHeader.

HPParallaxHeader is a simple view which contains header and can recognize sub scroll views automatically.

| Demo | |---------------------------------| |Demo|

Usage

  • Inheriting your content view with HParallaxHeader and connect header, content and loading (optional), e.g:
let headerContainer = HParallaxHeader()

headerContainer.contentHeaderView = headerMain
headerContainer.mainContentView = contentMain
headerContainer.loadingView = loadingMain
headerContainer.headerContainerView.headerHeight = 100

  • Or simply drag and drop the outlet to your view on xib

Demo

Installation

Swift Package Manager

You can use Swift Package Manager directly within Xcode or add it to the dependencies value of your Package.swift.

dependencies: [
    .package(url: "https://github.com/traitanhong98/ParallaxHeader", branch: "main")
]

Author

Hoang Nguyen

License

HParallaxHeader is available under the MIT license.

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated7mo ago
Forks0

Languages

Swift

Security Score

62/100

Audited on Aug 26, 2025

No findings