IB Doesn't Get Renamed Action in Custom Class
IB Doesn't Get Renamed Action in Custom Class
- Subject: IB Doesn't Get Renamed Action in Custom Class
- From: Jerry Krinock <email@hidden>
- Date: Fri, 4 Jan 2008 08:24:25 -0800
I have a project that was created in Xcode 2, now using Xcode 3 and IB
3 (Interface Builder 3).
A nib contains a typical Cocoa NSWindow with a typical custom
NSWindowController. A button is targetted to an action in the window
controller. I renamed the action in Xcode. IB still shows the old
action name, however, and when the window loads, I get a warning that
the old-named action cannot be connected to the class. Duh.
The nib file is the Xcode project's "Groups & Files". I have tried
"Synchronize with Xcode", "Read Class Files", even used the fancy
"Refactor" in Xcode to change the method name. The nib does not
appear in the list of Refactor changes :( Relaunched IB several times.
It seems that, in IB 3, there is no way to manually edit a class
interface, so it has to be done by one of these menu commands I have
tried. How do I get them to work? (I suppose that ripping out, re-
instantiating, and the re-connecting the custom window controller
would fix it, but there are many connections and that's not going to
be any fun.)
Thanks,
Jerry Krinock
_______________________________________________
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