/ Layout

Swift based data grid component

Swift based data grid component

SwiftGridView

Swift based data grid component. Currently this project is iOS9+ compatible only. SwiftGridView allows for quick and easy data grids that are customizable with datasource and delegate methods similar to a UITableView or UICollectionView.

SwiftGridView

Installation with CocoaPods

Since the project is written in swift it is required to include 'use_frameworks!'

pod 'SwiftGridView', '~> 0.6'

Features

Currently the Swift Grid View supports a lot of the expected features for a data grid, but it may not cover all requirements.

Cell Types

  • Header
  • Footer
  • Section Headers
  • Section Footers
  • Standard Cells

Cell Selection

  • Row Selection
  • Cell Selection
  • Multi selection
  • Header/Footer selection

Additional Functionality

  • Sticky section headers
  • Frozen Columns
  • Frozen Rows
  • Grouped Headers
  • Pinch to expand size (experimental)

Usage

For an example of how to utilize, see the example project. It is pretty similar to any other view type with required data source and delegate methods.

GitHub