• 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
Xcode Refactor Extract…
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode Refactor Extract…


  • Subject: Xcode Refactor Extract…
  • From: James Merkel <email@hidden>
  • Date: Wed, 14 Dec 2011 14:20:12 -0800

The extraction of a section of code into a new method works fine (Xcode 4.2.1).
However, there seems to be one gotcha.
The newly created method isn't declared in the header file.
So if you want to call the method again in another section of code (a primary purpose of the extraction is eliminating duplicate or nearly duplicate code) then the compiler complains that the class does not contain that new method. So you have to add it to the header file.
Maybe not a big deal, but is this a bug, or am I missing something?

Jim Merkel
 _______________________________________________
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: Xcode Refactor Extract…
      • From: Chris Hanson <email@hidden>
    • Re: Xcode Refactor Extract…
      • From: Phillip Mills <email@hidden>
  • Prev by Date: Xcode Printing problem (Solved)
  • Next by Date: Re: Xcode Refactor Extract…
  • Previous by thread: Xcode Printing problem (Solved)
  • Next by thread: Re: Xcode Refactor Extract…
  • Index(es):
    • Date
    • Thread