• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
misspelled methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

misspelled methods


  • Subject: misspelled methods
  • From: Todd Heberlein <email@hidden>
  • Date: Mon, 17 Aug 2009 20:00:13 -0700

I just spent about an hour trying to track down a bug. It turns out that instead of typing

	- (void)viewDidLoad

I typed

	- (void)viewDidload

with a lower case 'L' in "load".

It reminds me of programming languages where if you mistype a variable name the compiler just happily assumes you want a new variable and creates one for you. I hate those languages.

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?

Thanks,

Todd

_______________________________________________
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


  • Follow-Ups:
    • Re: misspelled methods
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: how do you go back
  • Next by Date: Interpreting Shark Results
  • Previous by thread: Re: Max # of editor windows is now 4?
  • Next by thread: Re: misspelled methods
  • Index(es):
    • Date
    • Thread