[IB] - how to delete action or outlet?
[IB] - how to delete action or outlet?
- Subject: [IB] - how to delete action or outlet?
- From: Alexander Bokovikov <email@hidden>
- Date: Sat, 18 Jul 2009 11:39:15 +0600
Hi, All,
I have no idea of how to remove an action or an outlet from
AppController object, once added. For example, I've created
appropriate modules AppController.h and .m, then wrote necessary code
lines to declare an action stub and/or outlet. Then I open IB and drag
necessary objects, like AppController, a text field or label or
whatever else, connect them with AppController and look at the
AppController's Info page. I see a header "AppController.h" and action
(as well as outlet), I just created for it.
OK. Now I'd like to remove that action and/or outlet. But I can't do
it from IB, because "-" button is always gray unless I'll add a new
(yet another) action or outlet. What to do now? I close IB, go to
AppController.h and .m and remove the code. Then I open IB again,
expecting to see previous action being disappeared... Oops... They're
still in place, connected to nothing, but "-" button in appropriate
panel is still gray. I can add a new action or outlet, but those,
initially created, will be stay unremovable.
Recently I've upgraded XCode to 3.1.3, but have still the same problem.
Is this a bug or just my misunderstanding?
Thanks.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden