Popularity
0.1
Declining
Activity
0.0
Stable
4
0
0

Code Quality Rank: L5
Programming language: Swift
Tags: UI    

CKPickerView alternatives and similar libraries

Based on the "UI" category

Do you think we are missing an alternative of CKPickerView or a related project?

Add another 'UI' Library

README

CKPickerView

A UIPickerView drop-in replacement with support for titles and Selection Indicator customization.

CI Status codebeat badge Carthage compatible Version Platform

screenshot 1 screenshot 2

Features

  • Add Titles on top of UIPickerView thru
    • titles for simple strings
    • attributedTitles for attributed strings
    • titleView for fully customized title view
  • Ability to update Selection Indicator Color thru selectionIndicatorColor
  • Ability to update Selection View's Background Color thru selectionBackgroundColor

Getting started

CKPickerView is a drop-in replacement of UIPickerView with extra APIs, so you can treat CKPickerView as UIPickerView, like

import CKPickerView

let picker = CKPickerView()
// Set picker title
picker.titles = ["Title"]
// Set selection view's background color
picker.selectionBackgroundColor = UIColor.blackColor()
// Set seliection indicator's color
picker.selectionIndicatorColor = UIColor.whiteColor()

You can also run the example project, by cloning the repo, and open Example target within Xcode.

Requirements

  • iOS 8.0 and above
  • Xcode 7.0 and above

Installation

Carthage

CKPickerView is available through Carthage. To install it, simply add the following line to your Cartfile:

github "cybertk/CKPickerView"

Cocoapods

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

pod "CKPickerView"

Author

@cybertk

License

CKPickerView is available under the MIT license. See the [LICENSE](LICENSE) file for more info.


*Note that all licence references and agreements mentioned in the CKPickerView README section above are relevant to that project's source code only.