marty-suzuki / ReverseExtension

A UITableView extension that enables cell insertion from the bottom of a table view.
MIT License
1.68k stars 130 forks source link

Add denying forward message to specific object in DelegateProxyBase #59

Closed marty-suzuki closed 3 years ago

marty-suzuki commented 3 years ago

Usage:

The following code means forwarding message for delegate.tableView(_:didSelectRowAt:) is denied. This changes relate to https://github.com/marty-suzuki/ReverseExtension/pull/58#pullrequestreview-741028506 .

UITableViewDelegateProxy(
    delegates: [delegate, self],
    denyList: [DenyDelegateMethod(delegate: delegate, selector: #selector(delegate.tableView(_:didSelectRowAt:)]
)