Skip to content

XWSlideSelectView is a slide segment selection controller, sliding view, dynamic increase、delete options, support agents and block callback, support XIB, easy to use.

Notifications You must be signed in to change notification settings

viviwu/XWSlideSegmentView

Repository files navigation

XWSlideSegmentView

is a slide segment selection controller, sliding view, dynamic increase options, support agents android block callback, support XIB, easy to use.
XWSlideSegmentView是一款轻量的分段选择控制器,可滑动查看、可动态增加选项,支持代理和block回调,支持XIB,简单易用.

---支持代码和XIB 初始化方法--

@property (weak, nonatomic) IBOutlet XWSlideSegmentView * segCtr;
-(id)initWithFrame:(CGRect)frame Titles:(NSArray*)titles

---支持代理--

@protocol TouchLabelDelegate
@property ( nonatomic, strong) idtouchDelegate;
-(void)SelectedItemWithIndex:(NSInteger)index

---支持动态添加元素--

[_segCtr addnewItemTitle:@"新来的"];

效果图


About

XWSlideSelectView is a slide segment selection controller, sliding view, dynamic increase、delete options, support agents and block callback, support XIB, easy to use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published