• 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: IBOutlet not 'sticking' at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBOutlet not 'sticking' at runtime


  • Subject: Re: IBOutlet not 'sticking' at runtime
  • From: Cameron Hayne <email@hidden>
  • Date: Wed, 7 Sep 2005 13:12:39 -0400


On 7-Sep-05, at 11:28 AM, Adam Raney wrote:

In Interface builder, I have successfully placed the custom object in my window (placed NSPopUpButton and selected ACRPopUpButton from it's Custom Class option). I have also connected the target IBOutlet to a text field on the same window.

The problem I have is, when the my app runs, the target is showing up as 0x0, as though it is not getting assigned. This has worked on other custom subclasses (such as my window controller), what could be causing this issue?

Maybe you are checking the value of 'target' too early before 'awakeFromNib' has run?
Or maybe you have a 'setTarget' method? (Search for "outlet" in this FAQ: http://www.alastairs-place.net/cocoa/faq.txt)


--
Cameron Hayne
email@hidden


_______________________________________________ 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: 
 >IBOutlet not 'sticking' at runtime (From: Adam Raney <email@hidden>)

  • Prev by Date: Re: IBOutlet not 'sticking' at runtime
  • Next by Date: What's wrong with my drawInteriorWithFrame implementation ?
  • Previous by thread: Re: IBOutlet not 'sticking' at runtime
  • Next by thread: Re: IBOutlet not 'sticking' at runtime
  • Index(es):
    • Date
    • Thread