• 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
Re: misspelled methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: misspelled methods


  • Subject: Re: misspelled methods
  • From: Todd Heberlein <email@hidden>
  • Date: Tue, 18 Aug 2009 09:45:39 -0700

That would catch some typos, but wouldn't have helped Todd since he probably never sends the viewDidLoad method himself.

That is correct. I was overloading (or trying to) the UIViewController's -viewDidLoad method which would be called behind the scenes. There were no compiler warnings or runtime warnings. My code simply was never called.


I was just thinking that if in your @implementation block you implement a method:

	- (void)someMethodName

that is not declared in either your class's interface or the interface of any parent class, then a compiler warning could be issued.


Another thing that might help would be for auto-completion to be smarter while you're entering a method declaration. (Weird -- I just entered "- (NSString *)descriptio" and -description was not offered as a possible completion. Will file a Radar.)

Yes, that would help. That has bugged me a bit, but Xcode has made so many improvements over the years I really can't complain too much. I probably type only a fraction of what I used to type.



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: Dennis Munsie <email@hidden>
References: 
 >Re: misspelled methods (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: misspelled methods
  • Next by Date: Re: Newbie query re multithreading
  • Previous by thread: Re: misspelled methods
  • Next by thread: Re: misspelled methods
  • Index(es):
    • Date
    • Thread