resolve conflicts
This commit is contained in:
commit
ba803baecd
|
|
@ -228,6 +228,16 @@
|
|||
|
||||
[buttonBarCell.label setText:[childController titleForPagerTabStripViewController:self]];
|
||||
|
||||
if ([childController respondsToSelector:@selector(imageForPagerTabStripViewController:)]) {
|
||||
UIImage *image = [childController imageForPagerTabStripViewController:self];
|
||||
buttonBarCell.imageView.image = image;
|
||||
}
|
||||
|
||||
if ([childController respondsToSelector:@selector(highlightedImageForPagerTabStripViewController:)]) {
|
||||
UIImage *image = [childController highlightedImageForPagerTabStripViewController:self];
|
||||
buttonBarCell.imageView.highlightedImage = image;
|
||||
}
|
||||
|
||||
if (self.isProgressiveIndicator) {
|
||||
if (self.changeCurrentIndexProgressiveBlock) {
|
||||
self.changeCurrentIndexProgressiveBlock(self.currentIndex == indexPath.item ? nil : cell , self.currentIndex == indexPath.item ? cell : nil, 1, YES, NO);
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@
|
|||
@optional
|
||||
|
||||
- (UIImage *)imageForPagerTabStripViewController:(XLPagerTabStripViewController *)pagerTabStripViewController;
|
||||
- (UIImage *)highlightedImageForPagerTabStripViewController:(XLPagerTabStripViewController *)pagerTabStripViewController;
|
||||
- (UIColor *)colorForPagerTabStripViewController:(XLPagerTabStripViewController *)pagerTabStripViewController;
|
||||
|
||||
@end
|
||||
|
|
|
|||
Loading…
Reference in New Issue