You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2025. It is now read-only.
Carthage is a decentralized dependency manager that automates the process of adding frameworks to your Cocoa application.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate SectionedSlider into your Xcode project using Carthage, specify it in your Cartfile:
github "LeonardoCardoso/SectionedSlider" ~> 0.0.5
Manually
If you prefer not to use either of the aforementioned dependency managers, you can integrate SectionedSlider into your project manually.
Usage
You can use a SectionedSlider on Storyboards or, if you want to do it programatically, you can create it just like you create a UIView:
SectionedSlider(
frame:CGRect(x:0, y:0, width:78, height:200), // Choose a 15.6 / 40 ration for width/height
selectedSection:3, // Initial selected section
sections:10 // Number of sections. Choose between 2 and 20
)
Palette
You also can customize the colors of the button on its constructor.