• 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
Solved:Re: Problem with NIB Hookup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solved:Re: Problem with NIB Hookup


  • Subject: Solved:Re: Problem with NIB Hookup
  • From: Joseph Jones <email@hidden>
  • Date: Sun, 5 Jan 2003 21:00:26 -0800

Key value encoding nips me in the butt again. My outlets and my actions followed the standard convention of name/setName. This means that my Actions were being called while the window was hooking up the outlets! Renaming the actions fixed the problem.

Thanx,
joe

On Sunday, January 5, 2003, at 05:59 PM, Joseph Jones wrote:

This is a first for me. I have a NIB file with a custom WIndow Controller. The WC has IBOutlets for all the controls on a panel I am displaying. The controls are all inside of a Tab View. When I break into my awakeFromNib override to see the state of the controls, all but the first control on my list (and consequently the first control on the first tab) are nil. Because of this, it is impossible for me to set or get valid state form these controls.

I thought maybe my NIB was corrupt, but when I created a new NIB to replicate it, I wound up with the same problem. I also checked to make sure that IB was saving in pre 10.2 format just in case.

I would kind of understand if all the controls were nil, but the fact that one is OK and all the rest are nil (even though they are all hooked up correctly in IB) is a bit disconcerting. Because of the opacity behind NIB loading, I have no idea how to even debug and investigate what might be the problem.

Anyone on this list have any suggestions and what the issue might be or how I might debug this one?

Thanx,
joe
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Problem with NIB Hookup (From: Joseph Jones <email@hidden>)

  • Prev by Date: Random sorting
  • Next by Date: Re: Random sorting
  • Previous by thread: Problem with NIB Hookup
  • Next by thread: Relative Date Strings
  • Index(es):
    • Date
    • Thread