Skip to content

ersentekin/ETRunnerBar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ETRunnerBar

CI Status Version License Platform

Facebook iOS App's animated header bar library.

alt text

alt text

alt text

alt text

You can find an example of the ETRunnerBar usage with UICollectionView.

Installation

ETRunnerBar is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ETRunnerBar"

You should initialize and customize if you want, in the viewDidLoad method.

But also you should call these 4 ETRunnerBar methods inside the scrollView delegates to help ETRunnerBar to detect your scrollView's actions.

runnerBar = [[ETRunnerBar alloc] init];

-(void)scrollViewWillBeginDragging:(UIScrollView *)scrollView {
    [runnerBar ETScrollViewWillBeginDragging:scrollView];
}

-(void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate {
    [runnerBar ETScrollViewDidEndDragging:scrollView willDecelerate:decelerate];
}

-(void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView {
    [runnerBar ETScrollViewDidEndDecelerating:scrollView];
}

-(void)scrollViewDidScroll:(UIScrollView *)scrollView {
    [runnerBar ETScrollViewDidScroll:scrollView];
    
}

About

Facebook iOS App like top and bottom header bar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published