PostCellDelegate
protocol PostCellDelegate : AnyObject
Actions triggered by post cell
-
Profile tapped
Declaration
Swift
func tapped(profile user: User)
Parameters
user
User to display
-
Display toggle tapped
Declaration
Swift
func tapped(toggle: Int)
Parameters
toggle
Model to toggle
-
Handle hide action
Declaration
Swift
func tapped(hide: PostCellModel?)
Parameters
hide
PostCellModel to hide
-
Handle report action
Declaration
Swift
func tapped(report: PostCellModel?)
Parameters
report
PostCellModel to report
-
Handle block action
Declaration
Swift
func tapped(block: PostCellModel?)
Parameters
block
PostCellModel to block
-
Handle edit action
Declaration
Swift
func tapped(edit: PostCellModel?)
Parameters
edit
PostCellModel to edit
-
Handle delete action
Declaration
Swift
func tapped(delete: PostCellModel?)
Parameters
delete
PostCellModel to delete