Re: Refactor>Rename problems
Re: Refactor>Rename problems
- Subject: Re: Refactor>Rename problems
- From: Sean McBride <email@hidden>
- Date: Fri, 23 Dec 2016 11:44:39 -0500
- Organization: Rogue Research Inc.
On Wed, 14 Sep 2016 13:15:20 -0700, Doug Hill said:
>I've noticed that Refactor>Rename doesn't work terribly well. I've had
>problems with this in the past but now that I upgraded to Xcode 8 I
>thought I'd try it again. But alas I continue to see issues where this
>functionality doesn't really work.
>
>
>The latest issue I see is that I try to rename a property on an
>Objective-C class but refactor doesn't find all the locations where this
>property is used. My understanding is that this feature is supposed to
>rename all instances of a symbol in your project, including XIBs.
>Specifically, I see that Xcode doesn't find usage of this property
>outside of the class definition/implementation. For example, where
>another class uses it.
>
>I seem to recall this used to work in the past so I wanted to see if I'm
>missing something or should I just write up a bug.
I'm also finding that Xcode 8 has regressed with refactoring. It now seems totally unable to refactor IBAction methods, even in a trivial freshly created test project. It says "The selection is not a type that can be renamed.".
Hopefully it's a bug and they didn't deliberately remove such a useful feature.
I filed <rdar://29800250>.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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