Rename a class in Xcode: Refactor... is grayed out (disabled). Why?

Elliot picture Elliot · Jun 14, 2009 · Viewed 49.1k times · Source

Why is Refactor... grayed out (disabled) in Xcode?

I'd like to rename a class.

Answer

Noah Witherspoon picture Noah Witherspoon · Jun 14, 2009

Select the class's symbol in its header file - i.e. the bit just after @interface. Then the refactoring stuff should be enabled.