Re: misspelled methods
Re: misspelled methods
- Subject: Re: misspelled methods
- From: Hamish Allan <email@hidden>
- Date: Tue, 18 Aug 2009 15:58:23 +0100
On Tue, Aug 18, 2009 at 3:48 PM, Sean McBride<email@hidden> wrote:
> On 8/17/09 8:00 PM, Todd Heberlein said:
>
>>Is there any way for me to get Xcode to complain when it runs into a
>>method implementation that was not previously declared in a header file?
>
> I don't think so. I'd suggest against that anyway, because it means you
> would be polluting your public .h file with private method
> declarations. Besides, you'd probably just copy-paste your typo anyway.
What might be more useful is a warning if a method selector differs
from that of an ancestor class only by capitalization (or perhaps also
by trailing colon, to help catch viewWillAppear versus viewWillAppear:
typos).
Hamish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden