Skip to content

brunow/BWTitlePagerView

Repository files navigation

BWTitlePagerView

Recreate the Twitter navigation controller pager.

BWTitlePagerView

Using it

BWTitlePagerView *pagingTitleView = [[BWTitlePagerView alloc] init];
pagingTitleView.frame = CGRectMake(0, 0, 150, 40);
pagingTitleView.font = [UIFont systemFontOfSize:18];
pagingTitleView.currentTintColor = [UIColor redColor];
[pagingTitleView observeScrollView:self.scrollView];

[pagingTitleView addObjects:@[ [UIImage imageNamed:@"tux"], [UIImage imageNamed:@"tux"] ]];

Or

[pagingTitleView addObjects:@[ @"messages", @"friends" ]];
    
self.navigationItem.titleView = pagingTitleView;

Contact

Bruno Wernimont

About

Recreate the Twitter navigation controller pager.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published