Objective-c – How to determine which methods are not implemented when XCode has warnings

cocoaobjective cxcode

Sometimes I have a interface that implements several protocols and I'll get a warning from XCode that my implementation is incomplete.

Is there an easy way to determine which methods are "required" but but implemented (without having to put in dummy implementations of all the non-optional methods from the protocol header files)?

For example, I have a warning on this interface but I don't want to have to dig through all the protocols.. obviously XCode knows that some are missing, why can't it just tell which they are!

@interface KTThumbsViewController : UIViewController <KTThumbsViewDataSource, UIImagePickerControllerDelegate, UINavigationControllerDelegate, UIAlertViewDelegate>

XCode 4

enter image description here

Best Answer

Didn't find the answer here, unfortunately. But a bit more digging turned up an answer, in the Issue navigator in the Navigator View.

Open the Navigator view via the View buttons at upper-right:

View Navigator toggle button

Then open the Issue navigator via the triangle/exclamation mark button at upper-left:

enter image description here

If you expand your "Incomplete implementation" Semantic Issue with the little triangle at left, you can see the details of XCode's complaint.

Related Topic