PostCellDelegate
protocol PostCellDelegate : AnyObject
Actions triggered by post cell
-
Profile tapped
Declaration
Swift
func tapped(profile user: User)Parameters
userUser to display
-
Display toggle tapped
Declaration
Swift
func tapped(toggle: Int)Parameters
toggleModel to toggle
-
Handle hide action
Declaration
Swift
func tapped(hide: PostCellModel?)Parameters
hidePostCellModel to hide
-
Handle report action
Declaration
Swift
func tapped(report: PostCellModel?)Parameters
reportPostCellModel to report
-
Handle block action
Declaration
Swift
func tapped(block: PostCellModel?)Parameters
blockPostCellModel to block
-
Handle edit action
Declaration
Swift
func tapped(edit: PostCellModel?)Parameters
editPostCellModel to edit
-
Handle delete action
Declaration
Swift
func tapped(delete: PostCellModel?)Parameters
deletePostCellModel to delete
View on GitHub
PostCellDelegate Protocol Reference