sivakspt / SwiftGridView

Swift based data grid view.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftGridView

CocoaPods Compatible License Platform

Swift 3 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.

Demo

Installation with CocoaPods

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

pod 'SwiftGridView', '~> 0.3'

use_frameworks!

Then to complete the install run the following:

$ pod install

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
  • 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.

License

SwiftGridView is released under the MIT license. See LICENSE for details.

About

Swift based data grid view.

License:MIT License


Languages

Language:Swift 99.4%Language:Ruby 0.6%