Implementing delegate methods for modal view controller data transfer
问题 I have a simple project to present a modal view controller and transfer back a string based on which button in the modal VC that gets pressed. I based it all on watching the Stanford class on iTunes U. It looks like I have everything correct, but I get a couple of compiler warnings. First I get one called passing argument 1 of 'setDelegate:' from incompatible pointer type in TransferViewController.m Second I get four warnings called Invalid receiver type 'id <MyModalViewControllerDelegate>*'