All Projects → yonat → Selectionlist

yonat / Selectionlist

Licence: mit
Simple single-selection or multiple-selection checklist, based on UITableView

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Selectionlist

Pretty Checkbox Vue
Quickly integrate pretty checkbox components with Vue.js
Stars: ✭ 240 (+158.06%)
Mutual labels:  checkbox, radio-buttons
Multipicker
Form styling plugin for jQuery
Stars: ✭ 90 (-3.23%)
Mutual labels:  checkbox, radio-buttons
Examples wxWidgets
Shows how to use wxWidgets controls only by programming code (c++17).
Stars: ✭ 116 (+24.73%)
Mutual labels:  checkbox, radio-buttons
LC-switch
Superlight vanilla javascript plugin improving forms look and functionality
Stars: ✭ 31 (-66.67%)
Mutual labels:  checkbox, radio-buttons
Magic Input
CSS3 Styles for Checkbox and Radio Button inputs look prettier. with only one element.
Stars: ✭ 81 (-12.9%)
Mutual labels:  checkbox, radio-buttons
React Menu
React component for building accessible menu, dropdown, submenu, context menu and more.
Stars: ✭ 237 (+154.84%)
Mutual labels:  checkbox, radio-buttons
pretty-checkbox-react
A tiny react/preact wrapper around pretty-checkbox
Stars: ✭ 35 (-62.37%)
Mutual labels:  checkbox, radio-buttons
Pretty Checkbox
A pure CSS library to beautify checkbox and radio buttons.
Stars: ✭ 1,708 (+1736.56%)
Mutual labels:  checkbox, radio-buttons
Examples Win32
Shows how to use Win32 controls by programming code (c++17).
Stars: ✭ 22 (-76.34%)
Mutual labels:  checkbox, radio-buttons
Examples Gtkmm
Shows how to use Gtkmm controls by programming code (c++17).
Stars: ✭ 23 (-75.27%)
Mutual labels:  checkbox, radio-buttons
Examples Qt
Shows how to use Qt widgets only by programming code (c++17).
Stars: ✭ 38 (-59.14%)
Mutual labels:  checkbox, radio-buttons
Xamarin.forms.inputkit
CheckBox, Radio Button, Labeled Slider, Dropdowns etc.
Stars: ✭ 372 (+300%)
Mutual labels:  checkbox, radio-buttons
Lthradiobutton
A radio button with a pretty animation
Stars: ✭ 303 (+225.81%)
Mutual labels:  checkbox, radio-buttons
Form Js
Easily create web forms. Supports Meteor, AngularJS, React, Polymer and any CSS library, e.g. Bootstrap.
Stars: ✭ 9 (-90.32%)
Mutual labels:  checkbox, radio-buttons
Ckdcss
A tiny set of micro interactions for your checkboxes.
Stars: ✭ 49 (-47.31%)
Mutual labels:  checkbox
The Practical Linux Hardening Guide
This guide details creating a secure Linux production system. OpenSCAP (C2S/CIS, STIG).
Stars: ✭ 8,790 (+9351.61%)
Mutual labels:  checklist
Vue Svg Map
A set of Vue.js components to display an interactive SVG map
Stars: ✭ 48 (-48.39%)
Mutual labels:  checkbox
React Native Ezplayer
EZPlayer component for react-native apps
Stars: ✭ 47 (-49.46%)
Mutual labels:  uitableview
Rails Security Checklist
🔑 Community-driven Rails Security Checklist (see our GitHub Issues for the newest checks that aren't yet in the README)
Stars: ✭ 1,265 (+1260.22%)
Mutual labels:  checklist
Checklist Tools Website
🍿 The perfect Checklist Website for meticulous developers.
Stars: ✭ 73 (-21.51%)
Mutual labels:  checklist

SelectionList

Simple single-selection or multiple-selection checklist, based on UITableView.

Swift Version Build Status License CocoaPods Compatible
Platform PRs Welcome

    

Usage

let selectionList = SelectionList()
selectionList.items = ["One", "Two", "Three", "Four", "Five"]
selectionList.addTarget(self, action: #selector(selectionChanged), for: .valueChanged)
selectionList.selectedIndex = 3

Multiple Selection

selectionList.allowsMultipleSelection = true
selectionList.selectedIndexes = [0, 1, 4]

Changing Appearance

The following properties can be changed either in Interface Builder or in code:

selectionList.selectionImage = UIImage(named: "v")
selectionList.deselectionImage = UIImage(named: "o")
selectionList.isSelectionMarkTrailing = false // to put checkmark on left side
selectionList.rowHeight = 42.0

You can do additional styling in code:

selectionList.setupCell =  { (cell: UITableViewCell, index: Int) in
    cell.textLabel?.textColor = .gray
}

Requirements

  • iOS 9.0+
  • Xcode 9+

Installation

CocoaPods:

pod 'SelectionList'

Legacy versions:

Swift version SelectionList version
4.1 (Xcode 9.4) pod 'SelectionList', '~> 1.2.0'
4.0 pod 'SelectionList', '~> 1.0.2'

Swift Package Manager:

dependencies: [
    .package(url: "https://github.com/yonat/SelectionList", from: "1.4.0")
]

Meta

@yonatsharon

https://github.com/yonat/SelectionList

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].