iPhone Development 101

iPhone 101

Code Tips

Resources

Links

Follow

Mailing ListTwitter

More

iPhone Development 101: Xcode:
Renaming and Refactoring

Renaming a Project

1. In Xcode, go to the navigator panel and select the target:

2. Go to the inspector panel (on the far right) and select the File Inspector icon. You can change the project name here. (You will get a pop-up dialogue to confirm the changes.)

Renaming a File

To change the name of an objective-C class file, select the file name in the navigator panel, then highlight the class name in the source file:

Now go to the Edit menu and choose Refactor -> Rename. You'll be prompted for the new file name. A pop-up dialogue will confirm the changes.


TopHome