{"id":18550875,"url":"https://github.com/pedrommcarrasco/slicecontrol","last_synced_at":"2026-03-12T14:39:05.123Z","repository":{"id":54633519,"uuid":"166283352","full_name":"pedrommcarrasco/SliceControl","owner":"pedrommcarrasco","description":"🍰 Simply a better \u0026 animated UISegmentedControl","archived":false,"fork":false,"pushed_at":"2022-08-08T12:08:45.000Z","size":3043,"stargazers_count":47,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-20T08:51:13.596Z","etag":null,"topics":["animation","cocoapods","ios","segmentedcontrol","swift","ui-components","uikit"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pedrommcarrasco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"pedrommcarrasco","custom":["https://www.buymeacoffee.com/pedrommcarrasco","https://www.paypal.me/pedrommcarrasco"]}},"created_at":"2019-01-17T19:24:52.000Z","updated_at":"2025-06-30T11:45:01.000Z","dependencies_parsed_at":"2022-08-13T22:10:37.282Z","dependency_job_id":null,"html_url":"https://github.com/pedrommcarrasco/SliceControl","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/pedrommcarrasco/SliceControl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrommcarrasco%2FSliceControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrommcarrasco%2FSliceControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrommcarrasco%2FSliceControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrommcarrasco%2FSliceControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrommcarrasco","download_url":"https://codeload.github.com/pedrommcarrasco/SliceControl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrommcarrasco%2FSliceControl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278328166,"owners_count":25968900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animation","cocoapods","ios","segmentedcontrol","swift","ui-components","uikit"],"created_at":"2024-11-06T21:05:58.498Z","updated_at":"2025-10-04T14:55:44.723Z","avatar_url":"https://github.com/pedrommcarrasco.png","language":"Swift","funding_links":["https://github.com/sponsors/pedrommcarrasco","https://www.buymeacoffee.com/pedrommcarrasco","https://www.paypal.me/pedrommcarrasco"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"logo.gif?raw=true alt=\"SliceControl\" width=\"100%\"/\u003e\n\u003c/p\u003e\n                      \n\u003e **Slice** *(/slɑɪs/)*, *noun*\n\u003e\n\u003e \"A slice is any small part that has been separated from something larger\"\n\n[![CocoaPods](https://img.shields.io/cocoapods/v/SliceControl.svg)](https://cocoapods.org/pods/SliceControl)\n[![apm](https://img.shields.io/apm/l/vim-mode.svg)](https://github.com/pedrommcarrasco/SliceControl/blob/master/LICENSE)\n\n# Usage Example ⌨️\n\nAfter installing **SliceControl**, you should start by importing the framework:\n\n```swift\nimport SliceControl\n```\n\nOnce imported, you can start using **SliceControl** like follows:\n\n```swift\nsliceControl = SliceControl(with: [\"All\", \"Liked\", \"Favourited\"],\n                            primaryColor: .darkGray,\n                            secondaryColor: .white,\n                            padding: 12)\n\n// Implement SliceControlDelegate to intercept actions\nsliceControl.delegate = self\n\nview.addSubview(sliceControl)\n// ... Constrain it\n```\nYou can also set its `UIFont` and starting option.\n\n## RxSwift\nWould you like to subscribe to SliceControl's events using RxSwift? **[RxSliceControl](https://github.com/pedrommcarrasco/RxSliceControl)** is here to save you!\n\n# Instalation 📦\n\n**SliceControl** is available through [CocoaPods](https://cocoapods.org/pods/SliceControl). In order to install, add the following line to your Podfile:\n\n```swift\npod 'SliceControl'\n```\nAnd run the following command in terminal:\n\n```swift\npod install\n```\n\n# Sample Project  📲\n\nThere's a sample project in this repository called [Example](https://github.com/pedrommcarrasco/SliceControl/tree/master/Example).\n\n# Support SliceControl ❤️\n\nHello there 👋\n\nI’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.\n\nI've built and open-sourced multiple frameworks and applications, including **[Brooklyn](https://github.com/pedrommcarrasco/Brooklyn)** and **[CocoaHub](https://cocoahub.app)**.\n\nI'm also a conference and meetup organizer, being part of **[SwiftAveiro](https://swiftaveiro.xyz)** and **[CocoaHeads Porto](https://www.meetup.com/CocoaHeads-Porto/)**.\n\nIf you enjoy my work and would like to help me continue it, please consider:\n* https://github.com/users/pedrommcarrasco/sponsorship\n* https://www.buymeacoffee.com/pedrommcarrasco\n* https://www.paypal.me/pedrommcarrasco\n\n# Contributing  🙌 \n\nFeel free to contribute to this project by providing [ideas](https://github.com/pedrommcarrasco/SliceControl/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) or opening [pull requests](https://github.com/pedrommcarrasco/SliceControl/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc).\n\n# License ⛔\n\nSliceControl's available under the MIT license. See the [LICENSE](https://github.com/pedrommcarrasco/SliceControl/blob/master/LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrommcarrasco%2Fslicecontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrommcarrasco%2Fslicecontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrommcarrasco%2Fslicecontrol/lists"}