SelectionList alternatives and similar libraries
Based on the "UITableView" category.
Alternatively, view SelectionList alternatives based on common mentions on social networks and blogs.
-
SwipeCellKit
Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift. -
HGPlaceholders
Nice library to show placeholders and Empty States for any UITableView/UICollectionView in your project -
ReverseExtension
A UITableView extension that enables cell insertion from the bottom of a table view. -
GridView
Reusable GridView with excellent performance and customization that can be time table, spreadsheet, paging and more. -
KJCategories
Collection of native ios extensions and classes to boost development process. Such as UIKit, Foundation, QuartzCore, Accelerate, OpenCV, CoreGraphics, os and more. 超实用开发加速工具库 -
CollapsibleTableSectionViewController
:tada: Swift library to support collapsible sections in a table view. -
WLEmptyState
WLEmptyState is an iOS based component that lets you customize the view when the dataset of a UITableView or a UICollectionView is empty. We created a sample project with the WLEmptyState component to show how you can use it. -
SwiftyComments
UITableView based component designed to display a hierarchy of expandable/foldable comments. -
AEAccordion
Simple and lightweight UITableViewController with accordion effect (expand / collapse cells)
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of SelectionList or a related project?
README
SelectionList
Simple single-selection or multiple-selection checklist, based on UITableView.
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
}
If you want to remove the cells seperators
selectionList.tableView.separatorStyle = .none
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
*Note that all licence references and agreements mentioned in the SelectionList README section above
are relevant to that project's source code only.