Swift based data grid component based on UICollectionView
. SwiftGridView
allows for quick and easy data grids that are fully customizable with powerful built in functionality.
Features
Swift Grid View supports many of the expected features for a data grid in an easy to use package.
DataGrid Cell Types
- Headers and Footers
- Section Headers and Footers
- Row Cells
Cell Selection
- Full Row or Single Cell Selection
- Multi selection
- Header or Footer Selection
Additional Functionality
- Sticky section headers
- Frozen Columns and Rows
- Grouped Headers
- Pinch to expand size (experimental)
Requirements
- Xcode 10.0+
- iOS 12.0+
Installation
Swift Package Manager
SwiftGridView is easily installed and managed using SPM.
- In Xcode navigate to File → Swift Packages → Add Package Dependency...
- Paste the repo URL (
https://github.com/nlampi/SwiftGridView.git
) and click Next - For the Rules either choose Up to Next Major for stable compatible releases or Branch
master
to remain up to date with the latest - Click Finish
CocoaPods
For installation with CocoaPods, add the pod information to your Podfile
:
pod 'SwiftGridView', '~> 0.7'
Usage
For detailed examples of how to utilize, see the example projects.
Documentation
Full documentation can be found here. Documentation generated using jazzy.
License
Copyright 2016 - 2022 Nathan Lampi
SwiftGridView is released under the MIT license.