• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to Refactor/Rename a View Controller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to Refactor/Rename a View Controller


  • Subject: How to Refactor/Rename a View Controller
  • From: Dave <email@hidden>
  • Date: Mon, 26 Jun 2017 12:33:54 +0200

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

  • Follow-Ups:
    • Re: How to Refactor/Rename a View Controller
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: Does compile order matter for Swift files?
  • Next by Date: Documentation Viewer is Buggy (Game Kit)
  • Previous by thread: Re: Where do I find Xcode 4.6 Mountain_Lion offline DocSets ?
  • Next by thread: Re: How to Refactor/Rename a View Controller
  • Index(es):
    • Date
    • Thread