create inline delegates for specific protocols like UITableViewDataSource on the fly