Re: How to Refactor/Rename a View Controller
Re: How to Refactor/Rename a View Controller
- Subject: Re: How to Refactor/Rename a View Controller
- From: Dave <email@hidden>
- Date: Tue, 27 Jun 2017 11:17:32 +0200
Hi,
Tried it from another place - same results. Its not worth wasting any more time
on, I just won’t use Refactor any more, its always been unreliable but now its
completely unusable. I’ll just use global replace instead.
I was thinking, maybe it would be better to just remove everything in XCode
that is not 100% necessary and broken, that way, people wouldn’t waste their
time trying to make broken things work and at the same time it would reduce the
complexity of XCode and cut down on the amount of bug fixing Apple has to do.
All the Best
Dave
> On 26 Jun 2017, at 18:39, Alex Zavatone <email@hidden> wrote:
>
> Try selecting the class name somewhere else where you use it and make sure
> that the UI is not displaying the assistant editor.
>
> Does it work in that case?
>
> Sent from my iPhone
>
>> On Jun 26, 2017, at 5:33 AM, Dave <email@hidden> wrote:
>>
>> XCode 8.3.3.
>> Objective-C
>> iOS
>>
>> Hi All,
>>
>> I need to change the name of a View Controller and so attempted to use
>> “Refactor/Rename” but it doesn’t seem to be working any more?
>>
>> Here’s what I tried:
>>
>> Open the .h file for the View Controller.
>>
>> Select the name of the Class in the @interface line.
>> Right Click and Select “Refactor/Rename”.
>>
>> When I do this, it shows just two files to change - the .h and .m file of
>> the View Controller itself.
>> It doesn’t show any of the references to the View Controller in other .h and
>> .m files or the Storyboard file.
>>
>> Is Refactor broken? If not, how to I do it?
>>
>> Thanks a lot for any help.
>>
>> All the Best
>> Dave
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
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