Re: Xcode Refactor Extract?
Re: Xcode Refactor Extract?
- Subject: Re: Xcode Refactor Extract?
- From: Matt Neuburg <email@hidden>
- Date: Sat, 17 Dec 2011 20:20:44 -0800
On Wed, 14 Dec 2011 17:31:08 -0500, Phillip Mills <email@hidden> said:
>On 2011-12-14, at 5:20 PM, James Merkel wrote:
>
>> The newly created method isn't declared in the header file.
>[...]
>> Maybe not a big deal, but is this a bug, or am I missing something?
>
>It's hard to call it a bug since the immediate refactor operation results in working code but it would certainly be more useful with a declaration. If it were improved, however, I wouldn't want it to automatically put the declaration into the public interface. I use anonymous class extensions with most of my classes and would like a choice of having that interface section as a home for the declaration. Otherwise, I would often be replacing a copy/paste action in a single file with a cut/paste across two files.
>
I find the Refactor functionality in Xcode slightly better than nothing, but only slightly. It often does things in a very half-baked way. For example, if you rename a method, appropriate changes are not made in the classes that call that method. If you rename a property, a corresponding outlet in a nib is not changed. And so on. m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook _______________________________________________
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