The methods are invoked because the delegating objects (UIWebView
, UITextField
, UITableView
, etc.) don't check if the delegate conforms to a protocol. They are only interested in if it actually responds to a certain delegate method.
Protocol declarations, after all, are just hints for the compiler.