user3117509
user3117509

Reputation: 833

View Controller name doesn't change in the symbol navigator after refactoring and renaming in xcode 5

I just decided to rename one of my View Controllers to something more appropriate.

So I went into xcode, went to the symbol navigator, selected the view controller that I want to change, and went to Edit > Refactor > Rename. Once the renaming was done, I looked at the symbol navigator and realized that the View Controller's name has not updated or changed to the new name.

I just checked real quick and the name did successfully update in main.storyboard and when I select my view controller in the storyboard and view it's identity inspector, the custom class has updated to the new name as well.

Is this an xcode 5 glitch? Any idea why the name will not update in the symbol navigator?

Thanks for the help.

Upvotes: 0

Views: 427

Answers (1)

coneybeare
coneybeare

Reputation: 33101

There is a checkbox that needs to be enabled immediately prior to the renaming that asks you if it should rename related files. I would be willing to bet that yours was unchecked.

enter image description here

Upvotes: 1

Related Questions