• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Ghost outlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ghost outlet


  • Subject: Ghost outlet
  • From: "gMail.com" <email@hidden>
  • Date: Sat, 13 Nov 2010 18:04:45 +0100
  • Thread-topic: Ghost outlet

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@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

  • Follow-Ups:
    • Re: Ghost outlet
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: RTFDFromRange returns different data
  • Next by Date: Problem saving in a Core Data application
  • Previous by thread: Re: Numbers and mutable sets and retain counts, oh my!
  • Next by thread: Re: Ghost outlet
  • Index(es):
    • Date
    • Thread