is it possible to rename/refactor a class file and have it rename the actual file on disk? if so, how can i do this?
+1
A:
Right click on the filename in the XCode file browser and pick "rename".
Carl Norum
2010-06-17 22:39:49
+1
A:
By default, Xcode will rename a file when you rename it in either the file navigator (left hand outline view thingy) or when you use the inspector.
bbum
2010-06-17 22:40:24
+5
A:
For me it's always renamed the files when I refactored the class name. I generally right-click on the class name in the interface (.h) file, choose "Refactor", and Xcode asks if I want to rename the files as well as changing the code.
nevan
2010-06-17 22:54:00
This approach is best, since it will rename class instances held in other files or XIB files.
Kendall Helmstetter Gelner
2010-06-18 01:51:01