Recently, I was cleaning up my class which had a lot of unused methods and variables. When I built my project, xCode gave a warning of Incomplete implementation
. The class is huge and it took me a lot of time to find out which method was not implemented in the .m
. To prevent spending so much time on this warning in the future, I would like to know if there's a quicker way to find out the unimplemented methods. I might be missing some built-in feature of xCode!
EDIT- (From the answers) Just in case you feel the need to visualize what is to be done, take a look at this:
First, click on the warning in the break-points tab to see the warning details in a yellow tab as below. A single click on the highlighted part will take you straight to the incomplete methods.
@implementation
Classname
in the .m
file ..Edit (Since comment has received a lot of votes.)
The above one is fast way..and it might not work in future version of Xcode
Proper Way (as given by @alex gray)
Click on the exclamation mark in Navigators Bar (or Command-4, or View -> Navigators -> Show Issue Navigator
), then click on the disclosure button with Semantic Issue - Incomplete implementation
and then on the warning.
See example below
In the navigator click on the disclosure triangle to "expand" the issue, which will in turn show you the actually missing method.
(this is a copy of alex gray
comment because appropriate location of it in answers)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With