Skip to content

Swift 4.2 support with did select and deselect delegate methods

Compare
Choose a tag to compare
@pavankataria pavankataria released this 24 Feb 17:44
· 46 commits to master since this release

Going forwards the library will support Swift 4.2 support.
There's also a new did select and deselect delegate method:

    /// Fired when a cell is selected.
    ///
    /// - Parameters:
    ///   - dataTable: SwiftDataTable
    ///   - indexPath: the index path of the row selected
    @objc optional func didSelectItem(_ dataTable: SwiftDataTable, indexPath: IndexPath)

    /// Fired when a cell has been deselected
    ///
    /// - Parameters:
    ///   - dataTable: SwiftDataTable
    ///   - indexPath: the index path of the row deselected
    @objc optional func didDeselectItem(_ dataTable: SwiftDataTable, indexPath: IndexPath)