Latest 0.1.0
Homepage https://github.com/knzknz/KNZSegmentedControl
License MIT
Platforms ios 9.0
Frameworks UIKit, Foundation
Authors

CI Status
Version
License
Platform

Features

  • [x] Animated selection indicator
  • [x] Customizable border width, border color, text color & selector color
  • [x] Designable in Interface Builder

KNZSegmentedControl

Requirements

  • iOS 8.0+
  • Xcode 7.3+

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

KNZSegmentedControl is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'KNZSegmentedControl'

Usage

For Story Boards

Drag and drop a view onto your storyboard and change it’s class to "CustomSegmentedController".

If you are having trouble with codesigning for IB open your project podfile and add the following:

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete('CODE_SIGNING_ALLOWED')
config.build_settings.delete('CODE_SIGNING_REQUIRED')
end
end
installer.pods_project.build_configurations.each do |config|
config.build_settings.delete('CODE_SIGNING_ALLOWED')
config.build_settings.delete('CODE_SIGNING_REQUIRED')
end
end

Contribution

Feel free to Fork, submit Pull Requests or send me your feedback and suggestions!

Author

Kaniz Ali

License

KNZSegmentedControl is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "KNZSegmentedControl",
    "version": "0.1.0",
    "summary": "A simple segmented control thats a step above the generic.",
    "description": "Boilerplate code to create a custom segmented control for your iOS app. Install this library to skip the generic code and fast forward your productivity!",
    "homepage": "https://github.com/knzknz/KNZSegmentedControl",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "knzknz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/knzknz/KNZSegmentedControl.git",
        "tag": "0.1.0"
    },
    "swift_version": "4.1",
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "KNZSegmentedControl/Classes/**/*",
    "frameworks": [
        "UIKit",
        "Foundation"
    ]
}

Pin It on Pinterest

Share This