• 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
Re: One of the children has a bad / missing connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One of the children has a bad / missing connection


  • Subject: Re: One of the children has a bad / missing connection
  • From: George Orthwein <email@hidden>
  • Date: Wed, 28 Jun 2006 10:31:42 -0400

Yeah I usually just see these for windows too. I guess I quickly got used to safely ignoring them. One thing I didn't realize: hovering over the yellow exclamation for unconnected outlets will actually list which outlets.

IB's Cocoa Faq in the Help menu has this to say:
• What are those little yellow badges the show up on the objects in the instance tab?

In the Instance view in cocoa, (Both in icon and outline view) a little yellow exclamation point will be displayed for any objects that meet the following criteria:

- The object is an instance of NSWindowController and you haven't connected the window outlet.
- The object follows the target/action paradigm and there is no target/action specified.
- Not all of the outlets of a custom object are connected.
- The delegate and datasource of NSOutlineView and NSTableView are not connected.
- The delegate of NSBrowser is not connected.


As you can see only some outlets are flagged for some AppKit objects but all outlets of custom objects are. That's a good thing.

You can turn off the warnings in preferences, but I'd rather see a few extra warnings than none at all. I wonder if a preference for disabling just the "target/action" warnings would be a good idea, as those seem the most likely to cause extraneous warnings. However, I'm not that experienced so I don't know if this could potentially remove fairly useful info.

George


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >One of the children has a bad / missing connection (From: Wayne Pascoe <email@hidden>)

  • Prev by Date: Re: RTF incompatibilites Windows/NSAttributesString RTFFromRange:...
  • Next by Date: Sorting ABPerson array with NSSortDescriptors
  • Previous by thread: Re: One of the children has a bad / missing connection
  • Next by thread: Re: One of the children has a bad / missing connection
  • Index(es):
    • Date
    • Thread