How could I get this to compile?
assert(self.tableView.delegate == self)
WjateverViewController.swift:56:44: Binary operator '==' cannot be
applied to operands of type 'UITableViewDelegate?' and
OffersViewController.swift:56:44: Binary operator '==' cannot be
applied to two 'UITableViewDelegate?' operands
The table view controller and the table view delegate are instances of a reference type (class).
Instances of reference types can be compared with the "identical-to"
===, which returns
true if both references point to the
same object instance:
assert(self.tableView.delegate === self)