PhotoCellDelegate
protocol PhotoCellDelegate : AnyObject
Actions triggered by photo cell
-
Clear suspended state
Declaration
Swift
func prepared(forReuse cell: PhotoCell)
Parameters
cell
Cell
-
Handle hide action
Declaration
Swift
func tapped(hide: Photo?)
Parameters
hide
Photo to hide
-
Handle report action
Declaration
Swift
func tapped(report: Photo?)
Parameters
report
Photo to report
-
Handle block action
Declaration
Swift
func tapped(block: Photo?)
Parameters
block
Photo to block
-
Handle block action
Declaration
Swift
func tapped(edit: Photo?)
Parameters
edit
Photo to edit
-
Handle delete action
Declaration
Swift
func tapped(delete: Photo?)
Parameters
delete
Photo to delete