EYSegmentViewController的使用

- (id)initWithViewControllers:(NSArray *)vcs;//初始化

-(void)setCurrentIndex:(NSInteger)index animated:(BOOL)animated;//设置滑动到第几栏



/*

 * dotItems contains some NSNumber

 * is number<0, will do nothing about the nav item

 * number==0 , will disappera the red dot

 * number>0 , will show the red dot

 */


-(void)setDotItems:(NSArray*)items;

-(void)viewControllerDidAppearWithIndex:(int)index;

//滑动到最左侧时,再滑动触发的方法

-(void)panLeftEdge:(UIPanGestureRecognizer*) panParam;

//滑动到最右侧时,再滑动触发的方法

-(void)panRightEdge:(UIPanGestureRecognizer*) panParam;

你可能感兴趣的:(EYSegmentViewController的使用)