Skip to content
A Custom segmented control to select weekdays for iOS
Swift Ruby Objective-C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets
Example
WeekdaysSegmentedControl.xcodeproj
WeekdaysSegmentedControl
.swift-version
LICENSE
README.md
WeekdaysSegmentedControl.podspec

README.md

Platforms Cocoapods Swift Xcode MIT

Requirements

  • iOS 9.0+
  • Xcode 9.0+
  • Swift 4.0+

Installation

CocoaPods

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 Podfile:

platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'WeekdaysSegmentedControl'
end

Then, run the following command:

$ pod install

Manually

Drag the WeekdaysSegmentedControl.swift file into your project, and you're all set!

Usage

  • Add WeekdaysSegmentedControl via Storyboard or in code
  • Conform to the WeekdaysSegmentedControlDelegate protocol 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 :)

License

WeekdaysSegmentedControl is released under the MIT License.

You can’t perform that action at this time.