Latest 1.1.0
Homepage https://github.com/omaralbeik/WeekdaysSegmentedControl
License MIT
Platforms ios 9.0, requires ARC
Authors

WeekdaysSegmentedControl


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

WeekdaysSegmentedControl

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.

Latest podspec

{
    "name": "WeekdaysSegmentedControl",
    "version": "1.1.0",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "Custom segmented control to select weekdays for iOS.",
    "homepage": "https://github.com/omaralbeik/WeekdaysSegmentedControl",
    "social_media_url": "https://twitter.com/omaralbeik",
    "authors": {
        "Omar Albeik": "[email protected]"
    },
    "source": {
        "git": "https://github.com/omaralbeik/WeekdaysSegmentedControl.git",
        "tag": "1.1.0"
    },
    "source_files": "WeekdaysSegmentedControl/*.swift",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This