Skip to content

Stretchy header for UIScrollView, UITableView and UICollectionView

License

Notifications You must be signed in to change notification settings

mohsinalimat/LetheStretchyHeader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LetheStretchyHeader

LetheStretchyHeader

Installation

CocoaPods

Just add pod 'LetheStretchyHeader' to your Podfile then run pod install or pod update.

In any file you'd like to use LetheStretchyHeader in, don't forget to import the framework with import LetheStretchyHeader.

Manually

Download and drop LetheStretchyHeader.swift in your project.

Usage

   LetheStretchyHeader().initial(viewController: self,
                                      parentView: scrollView,
                                      customHeader: nil,
                                      image: UIImage(named: "sample"),
                                      height: 200,
                                      type: .afterShowNavigationBar)

you can select one of the types

public enum HeaderType {
  case afterShowNavigationBar
  case alwaysHideNavigationBar
  case alwaysShowNavigationBar
}

License

LetheStretchyHeader is released under an MIT license. See LICENSE for more information.

About

Stretchy header for UIScrollView, UITableView and UICollectionView

Resources

License

Stars

Watchers

Forks

Packages

No packages published