An open API service indexing awesome lists of open source software.

https://github.com/sfmdev/xlsegment

A simple use segmentControl
https://github.com/sfmdev/xlsegment

cocoapods segmentcontrol swift-3 xlsegment-style

Last synced: 10 months ago
JSON representation

A simple use segmentControl

Awesome Lists containing this project

README

          

# XLSegment
[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://raw.githubusercontent.com/sfmDev/XLSegment/master/LICENSE)
![CocoaPods](http://img.shields.io/cocoapods/v/XLSegment.svg?style=flat)
![CocoaPods](http://img.shields.io/cocoapods/p/XLSegment.svg?style=flat)
[![Support](https://img.shields.io/badge/support-iOS%208%2B%20-blue.svg?style=flat)](https://www.apple.com/nl/ios/)
[![SourceForge](https://img.shields.io/cocoapods/dt/XLSegment.svg)]()
---

XLSegment 是一个目前有三种 Style 的 Segment, 支持滚动.
写这个是因为在[TKDotSegment](https://github.com/TBXark/TKDotSegment)的时候,发现不支持 scroll 的滚动, 就产生了自己再写一个的想法.新的版本可以点击右边的按钮展开下面的选择区域,按钮的宽高可以选择固定和按照文字宽度设置宽度.
XLSegment有如下三种 Style:


![image](https://github.com/sfmDev/XLSegment/blob/master/XLSegmentGif.gif)

---
欢迎各位star以及pl.
## CooaPod
` pod "XLSegment"`

## Version
` 0.2.2 -> 新增了可以扩展的下拉 View`
` 0.1.0 -> 修复了一些问题`
` 0.0.2 -> 可以设置图片或者文字作为 button 的样式`

## License
The MIT License (MIT)

Copyright (c) 2016 Ansel Shi