nlampi/swiftgridview
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
<img src="https://nlampi.github.io/SwiftGridView/BasicDemo.gif" width=600 />
Cell Selection
- Full Row or Single Cell Selection
- Multi selection
- Header or Footer Selection
<img src="https://nlampi.github.io/SwiftGridView/SelectionDemo.gif" width=600 />
Additional Functionality
- Sticky section headers
- Frozen Columns and Rows
- Grouped Headers
- Pinch to expand size (experimental)
<img src="https://nlampi.github.io/SwiftGridView/FrozenColRowDemo.gif" width=600 />
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
masterto 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 - 2025∑ Nathan Lampi
SwiftGridView is released under the MIT license.
Package Metadata
Repository: nlampi/swiftgridview
Default branch: master
README: README.md