• 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
awakeFromNib not initialising interface objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

awakeFromNib not initialising interface objects


  • Subject: awakeFromNib not initialising interface objects
  • From: Greg Hulands <email@hidden>
  • Date: Sun, 22 Sep 2002 16:08:26 +1000

I have a controller of a nib that has to do some setup of the interface in awakeFromNib, but the objects has not been initalised at that point (something strange). Before awakeFromNib is called, all the action methods of the textfields are getting called. Doing a po sender in gdb says that the NSTextFields exist, but when awakeFromNib is called, the objects have a nil value.

The interface displays ok and not errors are logged, but i cannot do any setup as the objects are nil.

Any ideas?

Greg
_______________________________________________
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.

  • Follow-Ups:
    • Re: awakeFromNib not initialising interface objects
      • From: "Mike Shields" <email@hidden>
  • Prev by Date: What's the Deal?
  • Next by Date: Re: NSRecentDocumentRecords
  • Previous by thread: Re: Custom NSTextField & keyDown:
  • Next by thread: Re: awakeFromNib not initialising interface objects
  • Index(es):
    • Date
    • Thread