Xcode Refactor Extract…
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