Latest 1.3.0
License MIT
Platforms ios 9.0

Slice (/slɑɪs/), noun

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


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

// ... Constrain it

You can also set its UIFont and starting option.

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.

Contributing 🙌

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

License ⛔

Fluky’s available under the MIT license. See the LICENSE file for more information.

Latest podspec

    "name": "SliceControl",
    "swift_version": "4.2",
    "version": "1.3.0",
    "summary": "ud83cudf70 Simply a better & animated UISegmentedControl",
    "description": "ud83cudf70 Simply a better & animated UISegmentedControl",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": "Pedro Carrasco",
    "social_media_url": "",
    "platforms": {
        "ios": "9.0"
    "source": {
        "git": "",
        "tag": "1.3.0"
    "source_files": "SliceControl/**/*",
    "exclude_files": "SliceControl/*.plist"

Pin It on Pinterest

Share This