Hi,
I had an
    IBOutlet id    abc;
in my MYObject class header file.
This outlet "abc" was properly displayed on the Inspector Connection panel
on IB, when I selected the blue cube "MyObject". Well.

Lately I removed the abc outlet from the header, recompiled, run, etc...
But on IB I still see that outlet, disconnected, but still there and "not"
grayed out. It is black and selectable/linkable. The strange thing is that I
can see this outlet listed on the Inspector Connection panel even if I
select "any" other different blue cube, I mean, a different object whose
header does not contain that outlet name.

I quit, relaunched Xcode and IB, reopened the project, verified that there
is no "abc" string on all of my code, many times. Same problem. It looks
lika a case of a "ghost outlet", invading all the nib file...

So, I have looked within the designable.nib file within the MainNib.nib file
and I have found this trace of this ghost

<object class="IBPartialClassDescription">
[snip...]
<dictionary class="NSMutableDictionary" key="outlets">
    <string key="abc">id</string>
</dictionary>
<dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
    <object class="IBToOneOutletInfo" key="abc">
        <string key="name">abc</string>
        <string key="candidateClassName">id</string>
    </object>
</dictionary>

What's that? What should I do? Can I delete these lines?


Regards
Leonardo


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to