SwiftGridReusableViewDelegate
public protocol SwiftGridReusableViewDelegate : AnyObject
The SwiftGridReusableViewDelegate
is used for passing selection and highlighting events through to the data grid.
-
Called when the reusable view is selected.
Declaration
Swift
func swiftGridReusableView(_ reusableView: SwiftGridReusableView, didSelectViewAtIndexPath indexPath: IndexPath)
Parameters
reusableView
The reusable view instance.
indexpath
The swift grid view index path of the passed reusable view.
-
Called when the reusable view is deselected.
Declaration
Swift
func swiftGridReusableView(_ reusableView: SwiftGridReusableView, didDeselectViewAtIndexPath indexPath: IndexPath)
Parameters
reusableView
The reusable view instance.
indexpath
The swift grid view index path of the passed reusable view.
-
Called when the reusable view is highlighted.
Declaration
Swift
func swiftGridReusableView(_ reusableView: SwiftGridReusableView, didHighlightViewAtIndexPath indexPath: IndexPath)
Parameters
reusableView
The reusable view instance.
indexpath
The swift grid view index path of the passed reusable view.
-
Called when the reusable view is unhighlighted.
Declaration
Swift
func swiftGridReusableView(_ reusableView: SwiftGridReusableView, didUnhighlightViewAtIndexPath indexPath: IndexPath)
Parameters
reusableView
The reusable view instance.
indexpath
The swift grid view index path of the passed reusable view.