- iOS 9.0+
- Xcode 9.0+
- Swift 4.0+
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
$ gem install cocoapods
To integrate WeekdaysSegmentedControl into your Xcode project using CocoaPods, specify it in your
platform :ios, '9.0' use_frameworks! target '<Your Target Name>' do pod 'WeekdaysSegmentedControl' end
Then, run the following command:
$ pod install
Drag the WeekdaysSegmentedControl.swift file into your project, and you're all set!
- Add WeekdaysSegmentedControl via Storyboard or in code
- Conform to the
WeekdaysSegmentedControlDelegateprotocol for selecting and deselecting events.
- Refer to the example project for help.
Customizing the control
Found an Issue?
If you find a bug in the source code, you can help me by submitting an issue. Even better you can submit a Pull Request with a fix :)
WeekdaysSegmentedControl is released under the MIT License.