let wolfSegment = WolfSegmentBar.init(frame: CGRect.init(x: 0, y: 100, width: view.frame.width, height: 40),
titles: ["Apple Store", "头条", "世界杯", "测试长文字", "新时代", "娱乐", "体育", "要闻", "段子", "微资讯", "本地", "科技", "Apple Store"],
config: WolfButtonConfig.default())
view.addSubview(wolfSegment)
wolfSegment.selectIndex = { index in
print(index)
}
situxinxin/WolfSegment
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
