Skip to content

xzysun/GridTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GridTable

An Excel-liked grid table for Objective-C

  • Drawing view based on UICollectionView with the benefits of reusing cells
  • Support fixed rows and fixed columns
  • Support background colors, selected state, borders

Usage

Create a GTTableView instance and add it to your view with a proper frame

If you do not extend the view under navbar/tabbar, please disable auto adjust insets by setting self.automaticallyAdjustsScrollViewInsets = NO; in your view controller

Implements the GTTableViewDelegate protocol to handle custom cell content and selection events

Convert your data into GTTableInfo object and set it to your table

##Requirements

  • Xcode 7+
  • iOS 8+

Thanks

Learned a lot from BidirectionalCollectionViewLayout and TSUIKit

License

GridTable is released under a MIT License. See LICENSE file for details.

About

An Excel-liked grid table for Objective-C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published