#"<MailboxContentViewController: 0x16106000>"
From the output, we can see that both the controller and delegate of MFMailboxTableView
are MailboxContentViewController. Let’s validate the controller as below.
cy# [#0x16106000 setTitle:@"iOSRE"]
The effect is shown in 8-12.
Figure 8- 11 After setTitle:
So far, we can confirm that our deduction is correct. Playing 2 important roles at the same
time, it is very likely that we can find both the refresh completion event handler and inbox
reading method in MailboxContentViewController. Let’s focus on this class from now on.
8.2.5 Locate the refresh completion callback method in
MailboxContentViewController
Like what we did in Chapter 7, we should take a look at what protocol does
MailboxContentViewController confirm to at first and then try to find our target method.
@interface MailboxContentViewController : UIViewController
<MailboxContentSelectionModelDataSource, MFSearchTextParserDelegate,
MessageMegaMallObserver, MFAddressBookClient, MFMailboxTableViewDelegate,
UIPopoverPresentationControllerDelegate, UITableViewDelegate, UITableViewDataSource,
UISearchDisplayDelegate, UISearchBarDelegate, TransferMailboxPickerDelegate,
AutoFetchControllerDataSource>
We can exclude MFSearchTextParserDelegate, MFAddressBookClient,
UIPopoverPresentationControllerDelegate, UITableViewDelegate, UITableViewDataSource,