All Projects → pedrommcarrasco → SliceControl

pedrommcarrasco / SliceControl

Licence: MIT license
🍰 Simply a better & animated UISegmentedControl

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to SliceControl

Jxpagingview
类似微博主页、简书主页等效果。多页面嵌套,既可以上下滑动,也可以左右滑动切换页面。支持HeaderView悬浮、支持下拉刷新、上拉加载更多。
Stars: ✭ 2,309 (+5147.73%)
Mutual labels:  segmentedcontrol
Jxsegmentedview
A powerful and easy to use segmented view (segmentedcontrol, pagingview, pagerview, pagecontrol, categoryview) (腾讯新闻、今日头条、QQ音乐、网易云音乐、京东、爱奇艺、腾讯视频、淘宝、天猫、简书、微博等所有主流APP分类切换滚动视图)
Stars: ✭ 1,905 (+4229.55%)
Mutual labels:  segmentedcontrol
Bettersegmentedcontrol
An easy to use, customizable replacement for UISegmentedControl & UISwitch.
Stars: ✭ 1,782 (+3950%)
Mutual labels:  segmentedcontrol
Jxcategoryview
A powerful and easy to use category view (segmentedcontrol, segmentview, pagingview, pagerview, pagecontrol) (腾讯新闻、今日头条、QQ音乐、网易云音乐、京东、爱奇艺、腾讯视频、淘宝、天猫、简书、微博等所有主流APP分类切换滚动视图)
Stars: ✭ 5,561 (+12538.64%)
Mutual labels:  segmentedcontrol
ZSegmentedControl
Customizable segmented control, a UISwitch-like segmented control and Segmented pager written in Swift
Stars: ✭ 25 (-43.18%)
Mutual labels:  segmentedcontrol
PuiSegmentedControl
PuiSegmentedControl is a customizable for segmented control.
Stars: ✭ 19 (-56.82%)
Mutual labels:  segmentedcontrol
RESegmentedControl
Customizable segmented control with style presets...
Stars: ✭ 76 (+72.73%)
Mutual labels:  segmentedcontrol
react-native-segment-control
Swipeable SegmentedControl component for React Native apps
Stars: ✭ 21 (-52.27%)
Mutual labels:  segmentedcontrol

Slice (/slɑɪs/), noun

"A slice is any small part that has been separated from something larger"

CocoaPods apm

Usage Example ⌨️

After installing SliceControl, you should start by importing the framework:

import SliceControl

Once imported, you can start using SliceControl like follows:

sliceControl = SliceControl(with: ["All", "Liked", "Favourited"],
                            primaryColor: .darkGray,
                            secondaryColor: .white,
                            padding: 12)

// Implement SliceControlDelegate to intercept actions
sliceControl.delegate = self

view.addSubview(sliceControl)
// ... Constrain it

You can also set its UIFont and starting option.

RxSwift

Would you like to subscribe to SliceControl's events using RxSwift? RxSliceControl is here to save you!

Instalation 📦

SliceControl is available through CocoaPods. In order to install, add the following line to your Podfile:

pod 'SliceControl'

And run the following command in terminal:

pod install

Sample Project 📲

There's a sample project in this repository called Example.

Support SliceControl ❤️

Hello there 👋

I’m Pedro, a Portuguese iOS Engineer since February 2017. I’m an avid OSS enthusiast and contributor - help by sharing, learn by what’s shared.

I've built and open-sourced multiple frameworks and applications, including Brooklyn and CocoaHub.

I'm also a conference and meetup organizer, being part of SwiftAveiro and CocoaHeads Porto.

If you enjoy my work and would like to help me continue it, please consider:

Contributing 🙌

Feel free to contribute to this project by providing ideas or opening pull requests.

License

SliceControl's available under the MIT license. See the LICENSE file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].