Skip to content

itclimb/JJSegmentSwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JJSegmentSwift

标签控制器swift版

效果图展示如下

image

一个非常简单实用的标签控制器,可快速入手,在项目中使用

   let titleDatas = ["推荐视频","热点","直播","阿里巴巴","今日头条","腾讯视频"]
   let frame = CGRect(x: 0, y: 0, width: view.bounds.width, height: view.bounds.height)
   let segmentView = JJSegmentView(frame: frame,
                                        delegate: self,
                                        titleDatas: titleDatas,
                                        headTitleColor: UIColor.blue)
   view.addSubview(segmentView)
        

About

标签控制器swift版

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published