That's what I'm seeing too, more or less. When it works, it might only refactor some instances. And when it doesn't work, Xcode poofs in the middle of the refactor, leaving the project in an indeterminate state, and I have to manually edit the .pbxproj file in TextEdit to salvage it. This happens occasionally also when simply refactoring the project name. It also doesn't seem to consistently refactor method name changes in the XIB, leaving a lot of dead connections hanging around to be found at run time.
Essentially, I've given up on it, and now I manually refactor always. -Carl > On Sep 14, 2016, at 1:15 PM, Doug Hill <[email protected]> wrote: > > 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. > > Doug Hill > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Xcode-users mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/xcode-users/newslists%40autonomy.caltech.edu > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
