Closed yurevich1 closed 8 years ago
Inside this class public class DataGridViewBaseHeaderCell: DataGridViewBaseCell {
public class DataGridViewBaseHeaderCell: DataGridViewBaseCell {
change function
public func didTap(gesture: UITapGestureRecognizer) { dataGridView.collectionViewDelegate.collectionView(dataGridView.collectionView, didTapHeaderForColumn: indexPath.row) }
into
public func didTap(gesture: UITapGestureRecognizer) { dataGridView.collectionViewDelegate.collectionView(dataGridView.collectionView, didTapHeaderForColumn: indexPath.index) }
if use the fisrt variant the library crashes with
Assertion failure in -[NSIndexPath row]
Fixed it in master, forgot to publish a new release. Done now: v0.2.1.
Inside this class
public class DataGridViewBaseHeaderCell: DataGridViewBaseCell {
change function
public func didTap(gesture: UITapGestureRecognizer) { dataGridView.collectionViewDelegate.collectionView(dataGridView.collectionView, didTapHeaderForColumn: indexPath.row) }
into
if use the fisrt variant the library crashes with