Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: renaming classes



At 4:54 AM -0400 9/2/03, Scott Anguish wrote:
On Sep 2, 2003, at 3:47 AM, Chuck Soper wrote:

A long time ago (before I knew better) I named several classes starting with lower case characters. Now I want to fix those class names so that the first two characters of each of these classes is changed from lower-case to upper-case.

Here is how I think I should rename those classes:
1. In PB, Batch Find (whole words/case sensitive) the class name(s) and replace
with the class name with upper case characters. Don't build.
2. Quit PB. Trash the build folder for the project in question.

no need to do that.. in Project Builder just select the file you need to rename, and control/right click to get the contextual menu. There is a Rename there.

Thanks. I also discovered a Rename command in the Project menu. It also looks possible to rename a file using the Info panel. All of these methods yield the same result: an alert stating that I cannot rename the file with no explanation. I have made sure that the file that I'm trying to rename is closed (not busy). I think that I have to go back to my original idea of directly modifying the project.pbxproj file.

I also will need to rename the custom classes in my nib file.

Does Project Builder/Interface Builder accommodate the renaming of classes? Is there a recommended way to do this? Or, should I try to avoid ever renaming a class?
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.
References: 
 >renaming classes (From: Chuck Soper <email@hidden>)
 >Re: renaming classes (From: Scott Anguish <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.