Re: Renaming a GUI controller class
Re: Renaming a GUI controller class
- Subject: Re: Renaming a GUI controller class
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 3 Apr 2008 20:32:22 -0700
On Thu, Apr 3, 2008 at 6:57 PM, R.L. Grigg
<email@hidden> wrote:
> I needed to rename my GUI controller class, so I changed the class name
> within the .h and .m files in Xcode and in IB I changed the "Class Identity"
> to the new name. So far so good but I coulnd't change the IB "Identity Name"
> at the bottom of the Inspector pane. Its stuck on the original name and when
> I try typing in the field to change it I get a beep. Doing the IB menu
> "Syncronize with Xcode" has no effect. Nor does restarting IB.
>
> What is the correct procedure for for doing this? I really dont want to
> loose all my connections and have to hook everything up all over again.
> Xcode 3.0.
You should use Xcode 3.0's re-factoring tool. It will help you change
names like this in all the places you need to change them. (I
personally haven't used it for changing a class name however...)
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden