Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 778 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 778 Bytes

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